Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49258

Capacitor-firebase/authentication not shows google popup when i try to sign in on ios

$
0
0

I dont know what happen when I try to sign in with google on ios, I configured my ios project with my GoogleService-info and my URL types on my project, I cleaned and build my project but nothing happens , my code for login is this service that return a promise

loginWithGoogle(): Promise {
return FirebaseAuthentication.signInWithGoogle();
}

i use this method on my component:

public async loginGoogle() {
console.log(‘login google…’);
this.logInService.loginWithGoogle().then((user: any) => {
console.log('user: ', user)
}).catch((error: any) => {
console.log('error with google auth: ', error)
});
}

on my web app works good but in my ios app not working , not shows the popup, on xcode console shows me “FirebaseAuthentication signInWithGoogle ”

I’m using “@capacitor-firebase/authentication”: “^5.4.1” I tried with other capacitors but not works.

Please Help me! :frowning:

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49258

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>