# How to get the SHA-256 fingerprint

> Obtain SHA-256 fingerprints for debug and release signing certificates.

Source: https://docs.grovs.io/docs/how-to-guides/android/sha256-fingerprint

Grovs lists your signing certificate's SHA-256 fingerprint in `assetlinks.json`, so Android can verify App Links.

> **Warning:** Add **both** your debug and release fingerprints to the Grovs dashboard. Deep linking fails in any build variant whose fingerprint is missing.

## Debug fingerprint

**Android Studio**

### 1. Open the Gradle panel

In Android Studio, click the **Gradle** tab on the right.

### 2. Run the signing report

Open **YourApp → Tasks → android** and double-click `signingReport`.

### 3. Copy the fingerprint

In the **Run** tab, copy the `SHA-256` line under the `debug` variant:

```text
Variant: debug
Config: debug
Store: /path/to/your/debug.keystore
Alias: your_alias
SHA-256: 12:34:56:78:90:AB:CD:EF:12:34:...
```

**Command Line**

### 1. Go to your project

```bash
cd /path/to/your/project
```

### 2. Run the signing report

```bash
# macOS / Linux
./gradlew signingReport

# Windows
gradlew signingReport
```

### 3. Copy the fingerprint

Copy the `SHA-256` line under the `debug` variant:

```text
Variant: debug
Config: debug
Store: /path/to/your/debug.keystore
Alias: your_alias
SHA-256: 12:34:56:78:90:AB:CD:EF:12:34:...
```

## Release fingerprint

**Self-Managed Keystore**

### 1. Run the keytool command

```bash
keytool -list -v \
  -keystore /path/to/your/release.keystore \
  -alias your_alias_name \
  -storepass your_keystore_password \
  -keypass your_key_password
```

> **Note:** If `keytool` isn't found, add the JDK `bin` directory to your PATH.

### 2. Copy the fingerprint

Copy the `SHA-256` value into your Grovs dashboard.

**Google Play App Signing**

### 1. Open the Play Console

Sign in to the [Google Play Console](https://play.google.com/console) and select your app.

### 2. Open App integrity

Go to **Setup → App integrity**.

### 3. Copy the fingerprint

Copy the `SHA-256` under **App signing key certificate** into your Grovs dashboard. Google re-signs Play Store installs with this key, so your upload key's fingerprint isn't enough.
