Firebase Authentication Not Working

means I just have to export the apk again after the update and publish it to play store

:sleepy::sleepy: What a pity


:sleepy: Que pena

That’s right

1 Like

Well, I lied here

You can now use Phone Authentication

6 Likes

Jajajaj :joy::joy:

How do you expect it to work when google is signing your apk with a new keystore

/Boban

1 Like

Is it so ? I didn’t know that, btw.i have stored new key in firebase and it is working thanks

Judging by your post above

You probably opt for google signing

/Boban

1 Like

@Diego
Logout does not work (in fact it has never worked…)
If you want to change your account or logout, you can’t. You are always logged in

(( I have sha1 and file google-services.json ))

2 Likes

Logging out does work, but it works “correctly” with login via email

With Google Login you will use the account you used before, unless you have deleted the application data in Settings


I think it is due to a file that is stored after logging in

but this should not happen, logout block should allow us to pick another google account to login inside the app :thinking::thinking:

2 Likes

I have the same problem.

I need the app to sign in to another Google account and there is no way to select the user. Even logging out.

Really in my understanding is an issue that can be improved, is the suggestion.

HOW I SOLVED THIS.

Not the best way out, but it works.

Every time I need to login with a different user, I go to the account settings on the mobile and remove the other users, leaving only the user I need to login to.

With this the app always asks which user I want to login.

QUESTION …

  • Anyone managed to solve this problem in another way?

-How to select another google account after logout?

2 Likes

when i use get current user no data is retrived . what i have to do?

Still today the same problems is occurring.
Google authentication is not working

You need to set sha2 in your firebase. If you need tutorial then pm me.i have hindi tutorial. If i give you here then my comment will be edited by mod

After published on playstore every app will get sha2 in play console. & you need set this in firebase.

1 Like

I have no Play Console Account :sob:

1 Like

Same to you

Solution
Go to your play console > Setup > App Signing
Copy SHA-1 certificate fingerprint and SHA-256 certificate fingerprint
Now head over to firebase console > project settings > General > Scrool down you will see (Add Fingerprint) now add both the fingerprints you copied
after adding the fingerprints download the googleservices.json file and replace it with the file in your app