arqam arqam - 2 months ago 25
Android Question

Google sign in not working after publishing in play store

I went through this, and as far as the process goes I did that.



But I when I installed the app from play store I am not able to sign in using the

google sign in
button.

I have used Firebase for google sign in. When I am clicking the sign in button the option to choose the account is coming but then it is not signing in or doing anything.

So where possibly am I going wrong?

Answer

Release APK and debug APK has different SHA1 and different API keys for google services. Both of them must be added in Firebase Console -> Project settings. Then download google-services.json from here, add it to project and recompile with release keystore using option "Build signed APK". That should work

Comments