I don't know if this question is related to Firebase or programming but I am doing mobile development and I am testing if google authentication works on emulator on Android Studio. Google authentication works but the problem is sign in pop up window doesn't show up once after I sign in with an account and sign in with an account automatically. So it doesn't show up when I try to sign in with another account after signing in and logging out. Is this normal behavior? How can I always choose an account when signing in?
It looks like the framework caches the option you selected from the popup window the first time. To bring popup window be displayed again you need to revoke access from the Google sign-in client:
mGoogleSignInClient.revokeAccess();
See details here: Firebase: How to revoke access to a Google account that is not logged in
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With