Im using Firebase 4.1.1 javascript with Cordova 7.0.1. My Android and iOS app needs to login using Facebook or Google but the Google login do something strange. After the Google login, it starts another webview so I can see 2 webview of my application in Google Chrome inspect and I dont seems to be logged.
My code:
var provider = new firebase.auth.GoogleAuthProvider();
provider.addScope('profile');
firebase.auth().signInWithRedirect(provider).then(function() {
firebase.auth().getRedirectResult().then(function(authData) {
...
}); });
I have also followed the instruction here: https://firebase.google.com/docs/auth/web/cordova
My Facebook login works perfectly, does anyone already see this problem with Google login?
Thanks