• <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

        时间:2024-04-13

        <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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何将 Ionic 设置为默认以 iOS 样式呈现? 下一篇:Ionic 3 Native:文件:{代码:5,消息:“ENCODING_ERR"}

                  相关文章

                    • <bdo id='3qgCe'></bdo><ul id='3qgCe'></ul>
                  1. <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>

                    1. <tfoot id='3qgCe'></tfoot>