Problem with logging in with Google in Firebase

0

good day. I have a login with Google in Firebase in my application, my application is already up in play store. The problem is that when I install from play store does not work the login with Google. But I tried passing through usb the generated apk to the storage of my cell phone and install the app from there and it works perfect.

I am using these permissions:

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

And also add the sha1 to my project in firebase.

Please help, I do not know what else to try.

    
asked by Esteban Moine 04.11.2017 в 02:18
source

2 answers

0

The problem is that the Firebase configuration is linked to the SHA that is generated for your development app (the one you added when you added the app to the Firebase console).

To solve this you simply have to add the SHA of your app in play store in the Firebase console Project settings and in the Android app add the SHA that corresponds to your productive app.

It may be the one you generated when you signed the original APK at the time of making the build or if you use the Google Play APK analysis and refirma service you will find the SHA you need in the Google Play console & gt ; Release Management > App Signing

    
answered by 24.11.2017 / 23:49
source
0

I also needed to link my firebase application to google play.

Firebase console, Settings, Integrations: and link Google Play

    
answered by 15.06.2018 в 22:09