google signIn not working in release mode apk android

Elizabeth picture Elizabeth · May 3, 2016 · Viewed 52k times · Source

In release mode, my google sign in is not working, but it works fine in debug mode. I got similar question from SO here, but I didn't get perfect solutions.

My handleSignInResult is coming false - How can this be fixed?

Answer

HarshitG picture HarshitG · Jun 1, 2017

Yesterday same problem occurred to me.

Google has released a new signing service in playstore publish console in which google will signin your app with his keystore. After signing , it will give you a new SHA which you have to add in your firebase account.

Enter SHA provided by Google in your firebase account