Skip to main content

SHA-1 and SHA-256

Get SHA-1 and SHA-256

Use one of these 2 ways to get SHA-1 and SHA-256:

1️⃣ Self-signing Your Application:

Step 1: Create Key Store .jks file following this guide. (skip this step if you have an existing Keystore .jks file).

Step 2: Follow this guide to create SHA-1 and SHA-256 certificate fingerprints.

Save all of the SHA-1 keys to a note for later usage.

2️⃣ From Google Play:

You can also get SHA-1 and SHA-256 after uploading your app to Google Play Console, you can get both SHA-1 and SHA-256 under App signing key certificate & Upload key certificate

Save all of the SHA-1 keys to a note for later usage.

Update SHA-1 and SHA-256

Step 1: Open the Firebase page https://console.firebase.google.com

Step 2: Open your Firebase project. Click the gear icon in the upper left corner, and select the [Project settings] item:

Step 3: Select your Android app, select the [Add fingerprint] button:

Enter your SHA-1 key and click the Save button. (view the Get SHA-1 and SHA-256 guide above). Continue to enter your SHA-256 key and click the Save button.

When finishing, you can download the [google-services.json] file and save this important file to use later:

That’s all :)