Android app SHA-1 authentication fail firebase

8
December 06, 2018, at 5:20 PM

My friend and I created an app and uploaded the APK on google play store. Some of our friends downloaded the app to try it, but they weren't able to register (using firebase number and/or email login). The error code says there's a problem with the SHA-1. So we disabled the app on google store, and when I launch the app now (already installed from play store) it works perfectly! So I think that when the app is activated on the store, we have problems! Any idea?

Answer 1

Welcome Otto, You are getting this problem because your authentication is not well set. You happen to have no issues since you are using a debug version with a debug SHA-1 key, you should generate a new key for the release version and upload it on firebase. The SHA-1 key during debug mode is different from the release mode.

Answer 2

There are different keys used for building your app, debug key and release key. The app you have installed on you phone is I think uses debug key which you have already registered with firebase, for you play store app to work you must also register release key you used to publish the app at play store (if you have used you own key at play store use that one or use a key that provided by google play store for signing the app).

Hope it helps.

READ ALSO
Activities back stack seems to be lost

Activities back stack seems to be lost

I have 2 activities: A and B In B, I have a back arrow to go back to A by calling "finish()" methodIt works fine, except when the following is done:

46
how to get fixed header and scrolling list item on nativescirpt radlistview

how to get fixed header and scrolling list item on nativescirpt radlistview

my sample code herethe problem is when i scroll the list header will go off, which should be fixed in position

33