pileup
pileup

Reputation: 3262

Confusion with SHA-1 in Firebase

I want to know what SHA-1 I need to write in this window:

enter image description here

Is it the one that I see on the signinReport inside Android Studio, as shown here: enter image description here

Or, this is the SHA-1 I need to generate according to this tutorial: Authenticating Your Client

Or they are the same one?

Also, when I try to follow their tutorial, via command line, I just, can't get it to work, what am I doing wrong:

enter image description here

Totally confused, would love to get clarification

Upvotes: 1

Views: 119

Answers (1)

Anil Ravsaheb Ghodake
Anil Ravsaheb Ghodake

Reputation: 1596

You can use sha1 key given in studio like below imageenter image description here

Or You can find using command also like below (Open CMD and hit below commands)

For Debug mode:

keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android 

for Release mode:

keytool -list -v -keystore {keystore_name} -alias {alias_name}

example:

keytool -list -v -keystore C:\Users\MG\Desktop\test.jks -alias test

Upvotes: 2

Related Questions