How To Get Sha-1 Certificate Fingerprint In Android Studio For Mac

I'm trying to integrate Firebase Auth with Flutter. For that I need to register my Android App with Firebase. For Google Sign-In, I require the SHA-1 Certificate of my Android App. On a regular app, this used to be possible by going.



How to add SHA-1 to android application (6)

I'm trying to create a dynamic link in Firebase, when I'm selecting the android app, it shows an error saying 'Add SHA-1 to this android app', I've already added a credential, but I'm not sure how exactly do I 'add SHA-1 to the app'

How is this done?

Alternatively you can use command line to get your SHA-1 fingerprint:

for your debug certificate you should use:

you should change ' c:Usersuser ' with the path to your windows user directory

if you want to get the production SHA-1 for your own certificate, replace ' C:Usersuser.androiddebug.keystore ' with your custom KeyStore path and use your KeystorePass and Keypass instead of android/android.

Ldconfig for mac. Than declare the SHA-1 fingerprints you get to your firebase console as Damini said



SHA-1 fingerprint of keystore certificate (19)

Is the method for getting a SHA-1 fingerprint the same as the method of getting the a fingerprint? Previously, I was running this command:

It's not clear to me if the result I'm getting is the SHA-1 fingerprint. Can somebody clarify this?

keytool is a key and certificate management utility. It allows users to administer their own public/private key pairs and associated certificates for use in self-authentication (where the user authenticates himself/herself to other users/services) or data integrity and authentication services, using digital signatures.

For Windows

Other

Authorization on Android uses a SHA1 fingerprint and package name to identify your app instead of a client ID and client secret.