Google sign in failed on release version

Viewed 1351

My user cannot login using google sign in after downloading my app. At first I believe its sha1 problem, so I created one for release using keytool with my keystore.

What I've done:

  1. Copied the sha1 to my firebase project setting
  2. Downloaded the googlejson file, put it in my project.
  3. Generate signed apk using the same keystore.

Currently I think I have two sha1 fingerprint certificate listed in my firebase project setting, debug and release version. The weird thing is I can successfully login by running the apk-release.apk from generate signed apk which I directly copied from my pc to my phone. ( I uninstalled the old and install fresh the app). That is the same apk I uploaded to the google play console for public. I don't understand why I get different result.

2 Answers
Related