Nativescript-plugin-firebase: Error: Make sure you've uploaded your SHA1 fingerprint(s) to the Firebase console

Created on 2 Apr 2017  路  5Comments  路  Source: EddyVerbruggen/nativescript-plugin-firebase

Getting this error on google auth, even after i am mentioning the keystore and i have uploaded this key in firebase console

Using following command to run emulator

tns run android --key-store-path /home/vivek/.keystore --key-store-password android  --key-store-alias my-expenses --key-store-alias-password android  --clean

Getting this error:

JS: Make sure you've uploaded your SHA1 fingerprint(s) to the Firebase console
JS: Has the SHA1 fingerprint been uploaded? Sign-in status: Status{statusCode=unknown status code: 12501, resolution=null}
Android question

Most helpful comment

Thanks @ITServicesAM , it works fine!
. I take my .apk, change extension to .zip, then extract the content.
. Look for /META-INF/ANDROID_.RSA (or CERT.RSA)
. Open CMD, execute $keytool -printcert -file ANDROID_.RSA
. Then copy the SHA-1 code from the console.
. Add it to the Firebase android app settings.
. Reinstall android platform in my project.
. Try to login, works fine!

All 5 comments

Same issue. Used to work before for Google login and now this error

Make sure you've also uploaded the debug keystore SHA1 fingerprint to the console. Also (for others reading this) if you move to a new developer machine that debug keystore is likely different, so add that one as well. See https://developers.google.com/android/guides/client-auth

I just ran into the same and adding the fingerprints helped me out as usual.

Hi.
I just generated my Android fingerprint .keystore file (I placed it into my desktop). Then I updated my Firebase settings (Project Overview > Android App > Settings > SHA certificate fingerprints).

When I run the emulator and try to login appears the message: "Make sure you've uploaded your SHA1 fingerprint(s) to the Firebase console".

Some idea about what I'm doing wrong?

Thanks.

@ParVisual You have to provide your debug key. You can get from the build apk via the solution on this site
https://stackoverflow.com/questions/11331469/how-do-i-find-out-which-keystore-was-used-to-sign-an-app

Thanks @ITServicesAM , it works fine!
. I take my .apk, change extension to .zip, then extract the content.
. Look for /META-INF/ANDROID_.RSA (or CERT.RSA)
. Open CMD, execute $keytool -printcert -file ANDROID_.RSA
. Then copy the SHA-1 code from the console.
. Add it to the Firebase android app settings.
. Reinstall android platform in my project.
. Try to login, works fine!

Was this page helpful?
0 / 5 - 0 ratings