Open andyepx opened 6 years ago
Have you checked if your app allows navigation to URLs with http://
protocol? (perhaps your config.xml
only allows for https://
)
Try adding the following entry to your config.xml
:
<allow-navigation href="http://*" />
This solution worked for a possibly related issue: https://stackoverflow.com/a/53566771/2779681
Partially works for me with
afterwards it tries to open the login with the in-app browser "403" which leads to the issue #507
Related open issue, #507
Partially is not enough anyway
Any solution?
Starting from April 2020 (this month!), Apple will no longer accept hybrid apps that do not use WKWebView. As others, I made the switch from the UIWebView. Only to realize that the regular Cordova WKWebView has bugs that the Ionic webview fixes. So, now would be a great time to decide if something can be done, because we're about to lose our workaround. Thank you
[REQUIRED] Describe your environment
[REQUIRED] Describe the problem
Steps to reproduce:
It appears that Ionic Webview has changed and it's not possible to use
signInWithRedirect
on Android as it's now serving content from an integrated http server, athttp://localhost:8080
instead of usingfile://
as previously. This seems to break the login flow.More info are available at https://github.com/ionic-team/cordova-plugin-ionic-webview
How can I force Firebase Auth to detect my Cordova setup?
Relevant Code:
I have implemented the auth in the simplest way:
And after a successful login, the OAuth handler redirects to
http://localhost:8080
which is an empty page, instead of flowing back to the app.