How to add android release certificate fingerprints




Step 1: Open the Terminal

First, open the terminal on your computer. On a Mac, you can find Terminal in the Applications > Utilities folder.

Step 2: Navigate to Your Project Directory

Navigate to your Flutter project directory using the cd command. For example, if your project is located in the Documents folder, you can navigate to it using the command: 

Step 3: Obtain the Release Certificate Fingerprints

To enable Google Sign-In in your Flutter app, you need to provide the release certificate fingerprints to Firebase. You can obtain these fingerprints using the keytool command-line tool that comes with the Java Development Kit (JDK). 

In the terminal, run the following command to obtain the release certificate fingerprints:

Replace ALIAS_NAME with the alias name of the key and KEYSTORE_NAME_WITH_EXTENSION with the name and extension of the keystore file. For example:


This command will prompt you to enter the keystore password. Enter the password and press Enter.

The keytool command will generate the SHA-1 and SHA-256 fingerprints. Make a note of these fingerprints as you will need them in the next step.


Step 4: Add the Fingerprints to Firebase

Next, go to your Firebase project and navigate to the "Project settings" page. Scroll down to the "Your apps" section and click on the Android app for which you want to add the fingerprints.

Scroll down to the "Add fingerprint" section and enter the SHA-1 and SHA-256 fingerprints that you obtained in step 3. You can enter multiple fingerprints if necessary.

Step 5: Update the App Integrity in Google Play Console

If you're still having issues with Google Sign-In, you may need to update the app integrity in the Google Play Console.

Go to the Google Play Console and navigate to "App integrity" under the "Setup" section. Under "App signing", copy both the SHA-1 and SHA-256 fingerprints and add them to Firebase as well.

That's it! You have now obtained the Android release certificate fingerprints and added them to Firebase to enable Google Sign-In in your Flutter app.

Post a Comment

Previous Post Next Post