• <i id='fwhFQ'><tr id='fwhFQ'><dt id='fwhFQ'><q id='fwhFQ'><span id='fwhFQ'><b id='fwhFQ'><form id='fwhFQ'><ins id='fwhFQ'></ins><ul id='fwhFQ'></ul><sub id='fwhFQ'></sub></form><legend id='fwhFQ'></legend><bdo id='fwhFQ'><pre id='fwhFQ'><center id='fwhFQ'></center></pre></bdo></b><th id='fwhFQ'></th></span></q></dt></tr></i><div id='fwhFQ'><tfoot id='fwhFQ'></tfoot><dl id='fwhFQ'><fieldset id='fwhFQ'></fieldset></dl></div>

    <small id='fwhFQ'></small><noframes id='fwhFQ'>

    • <bdo id='fwhFQ'></bdo><ul id='fwhFQ'></ul>
    1. <legend id='fwhFQ'><style id='fwhFQ'><dir id='fwhFQ'><q id='fwhFQ'></q></dir></style></legend>
    2. <tfoot id='fwhFQ'></tfoot>

        firebase 社交登录未重定向到应用程序,离子 3,ios

        firebase social login not redirected to the app , ionic 3 , ios(firebase 社交登录未重定向到应用程序,离子 3,ios)

        <small id='62Kel'></small><noframes id='62Kel'>

        <i id='62Kel'><tr id='62Kel'><dt id='62Kel'><q id='62Kel'><span id='62Kel'><b id='62Kel'><form id='62Kel'><ins id='62Kel'></ins><ul id='62Kel'></ul><sub id='62Kel'></sub></form><legend id='62Kel'></legend><bdo id='62Kel'><pre id='62Kel'><center id='62Kel'></center></pre></bdo></b><th id='62Kel'></th></span></q></dt></tr></i><div id='62Kel'><tfoot id='62Kel'></tfoot><dl id='62Kel'><fieldset id='62Kel'></fieldset></dl></div>
        <legend id='62Kel'><style id='62Kel'><dir id='62Kel'><q id='62Kel'></q></dir></style></legend>
        • <bdo id='62Kel'></bdo><ul id='62Kel'></ul>

              1. <tfoot id='62Kel'></tfoot>
                  <tbody id='62Kel'></tbody>

                  本文介绍了firebase 社交登录未重定向到应用程序,离子 3,ios的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试借助firebase"身份验证在我的 ionic 3 应用中实现社交登录.我关注了这篇文章 https://javebratt.com/ionic-social-login-firebase/

                  I am trying to implement social login in my ionic 3 app with the help of 'firebase' authentication. I followed this artical https://javebratt.com/ionic-social-login-firebase/

                  我安装了所有插件(cordova-plugin-browsertab、cordova-plugin-inappbrowser ..etc)和文章中的完全一样.

                  I installed all the plugins(cordova-plugin-browsertab,cordova-plugin-inappbrowser ..etc) and did exactly same as in the article.

                  然后我在 android 和 ios 设备上运行该应用程序.在 android 设备中,facebook/google 登录页面在应用内浏览器"中打开,并在登录过程后成功重定向到应用.一切正常.

                  Then I ran the app on both android and ios devices. in android device the facebook/google login page is opened in the 'in app browser' and it is redirected to the app successfully after the login process.everything works fine.

                  但在 iPhone 中,facebook/google 登录页面是在新的 safari 浏览器实例中打开的,登录后它会重定向到 localhost,而不是重定向回应用程序.

                  But in the iPhone the facebook/google login pages are opened in a new safari browser instance and after the login it redirect to localhost, and it is not redirected back to the application.

                  谁能帮我解决这个问题?

                  can anyone help me with this?

                  谢谢

                  推荐答案

                  我认为这个问题与 iOS 中的 ionic 有关,现在默认为 WKWebView (http://ionicframework.com/docs/wkwebview/) 与 Firebase 有问题.iOS 中的 ionic 原生应用 URL 现在显示为 http://localhost 而不是 file://assets/.../index.html.

                  I believe the issue is related to ionic in iOS now defaulting to WKWebView (http://ionicframework.com/docs/wkwebview/) which has issues with Firebase. ionic native app URLs in iOS now appear as http://localhost instead of file://assets/.../index.html.

                  此时建议的解决方法是降级到 UIWebView.Firebase Auth 正在为此寻找解决方案.

                  The suggested workaround at this time is to downgrade to UIWebView. Firebase Auth is looking into a solution for this.

                  这篇关于firebase 社交登录未重定向到应用程序,离子 3,ios的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  what#39;s property copy means in Cocoa#39;s Framework?(like UITabBar#39;s items property)(Cocoa 框架中的属性副本是什么意思?(如 UITabBar 的 items 属性))
                  Can`t copy file from bundle to documents directory in iOS(无法将文件从捆绑包复制到 iOS 中的文档目录)
                  Automatically copy property values from one object to another of a different type but the same protocol (Objective-C)(自动将属性值从一个对象复制到另一个类型不同但协议相同的对象 (Objective-C))
                  Copy text to clipboard with iOS(使用 iOS 将文本复制到剪贴板)
                  How to copy text to clipboard/pasteboard with Swift(如何使用 Swift 将文本复制到剪贴板/粘贴板)
                  How to show the progress of copying a large file in iOS?(如何在iOS中显示复制大文件的进度?)

                    <tbody id='3qgCe'></tbody>
                      <bdo id='3qgCe'></bdo><ul id='3qgCe'></ul>
                    • <i id='3qgCe'><tr id='3qgCe'><dt id='3qgCe'><q id='3qgCe'><span id='3qgCe'><b id='3qgCe'><form id='3qgCe'><ins id='3qgCe'></ins><ul id='3qgCe'></ul><sub id='3qgCe'></sub></form><legend id='3qgCe'></legend><bdo id='3qgCe'><pre id='3qgCe'><center id='3qgCe'></center></pre></bdo></b><th id='3qgCe'></th></span></q></dt></tr></i><div id='3qgCe'><tfoot id='3qgCe'></tfoot><dl id='3qgCe'><fieldset id='3qgCe'></fieldset></dl></div>

                      <small id='3qgCe'></small><noframes id='3qgCe'>

                          <legend id='3qgCe'><style id='3qgCe'><dir id='3qgCe'><q id='3qgCe'></q></dir></style></legend>

                          • <tfoot id='3qgCe'></tfoot>