I have a problem with google sign in on production installation file. On debug installation everything is normal I can login into the application. But after changed on release i get null on account from google response. What could have been problem?
I worked with ("https://developers.google.com/identity/sign-in/android/start-integrating"). every step same.
Your sign-in may be blocked if the device or location you're using is new. Try again from a device or location that you commonly sign in from. Sign in to your Google Account on the new device and try again the following week.
I know this is an old question, but for anyone using Firebase, you have to add the SHA-1 fingerprint to the Firebase Console > Settings > Android App page.
If you are using the Google Play Console, you can get this from the Google Play Console > App Signing page. There will be two of them (the one you signed your app with, and the one that Google signed your app with). You'll need to add both so you can test local release builds.
If you don't use the Play Store, you'll need to get the SHA-1 fingerprint from your keystore file using these directions: https://developers.google.com/android/guides/client-auth
You need to have a configuration file with,
Android Signing Certificate SHA-1 with release key so only it will work with release build
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