On this page
What this issue is
Android App Links let a normal https link open your app directly. To trust the link, Android downloads https://yourdomain.com/.well-known/assetlinks.json and checks that it lists your app's package name and the SHA-256 fingerprint of the certificate the app is signed with. A fingerprint is a short hash that identifies a signing key.
[{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "com.example.app",
"sha256_cert_fingerprints": [
"14:6D:E9:83:C5:73:06:50:D8:EE:B9:95:2F:34:FC:64:16:A0:83:42:E6:1D:BE:A8:8A:04:96:B2:3F:CF:44:E5"
]
}
}]A SHA-256 fingerprint has 32 pairs of hex characters (95 characters with colons). A SHA-1 has only 20 pairs. If yours is shorter, it's the wrong type.
Why it costs you leads or sales
When verification fails, Android treats your link as an ordinary web link. Someone tapping an ad, email or QR code on a phone gets the mobile site or a disambiguation dialog instead of the app, where they may be logged in, have saved payment details or be able to finish a purchase in one tap. Campaign clicks are paid for, so you pay for visits that convert worse.
- Ad or email clickVisitor taps an https link on Android
- Android checks assetlinks.jsonFingerprint doesn't match the app's signing key
- App opens on the right screenSkipped, link treated as a web link
- In-app signup or purchaseVisitor stays in the browser
The link opens, but verification fails, so the app never gets the visitor.
How to check if your site has it
Open the file
Visit https://yourdomain.com/.well-known/assetlinks.json and note each sha256_cert_fingerprints value and package_name.
Find your app signing key
In Google Play Console, open your app, then Test and release > Setup > App signing. Copy the SHA-256 certificate fingerprint under App signing key certificate.
Compare
The Play app signing SHA-256 must appear in the file. If the file only has the upload key certificate, a SHA-1, or an unknown value, you have this issue.
Ask Android what it thinks
On a device with the app installed, run the command below and look for your domain's state.
adb shell pm get-app-links com.example.appA domain showing verified is healthy. States such as none or legacy_failure point to a failed check. You can also run Google's Digital Asset Links API: https://digitalassetlinks.googleapis.com/v1/statements:list?source.web.site=https://yourdomain.com&relation=delegate_permission/common.handle_all_urls.
How to fix it
Get the correct fingerprint
Use the App signing key certificate SHA-256 from Play Console if you use Play App Signing. For apps you sign yourself, run keytool -list -v -keystore your.keystore and copy the SHA256 line.
Replace SHA-1 or wrong values
Edit sha256_cert_fingerprints. Keep uppercase hex pairs separated by colons.
Keep extra keys only on purpose
The array can hold several fingerprints. Add the upload key or a debug key only if you need App Links to verify on internal test builds.
Check the package name
package_name must match the applicationId of the app exactly, including any flavor suffix.
Publish and keep it simple
Serve it over HTTPS at the exact path, with no redirect, as application/json. See the platform tabs for where the file lives.
keytool -list -v -keystore my-release.keystore -alias my-key | grep SHA256Edit the physical file
Using SFTP or your host's file manager, edit wp-content-independent /.well-known/assetlinks.json in the site root (the folder containing wp-config.php). Replace the fingerprint and save.
Check plugins
If a redirect or security plugin blocks dot-folders, allow /.well-known/ so the file still loads directly.
Know the limit
Shopify doesn't let you upload files to /.well-known/ on the main domain. Check with Shopify support or your app vendor how App Links can be served; a different host for the linked domain may be needed.
Use a supported route
Webflow has no direct file upload to /.well-known/. Check whether your hosting setup, a reverse proxy or a CDN rule in front of the site can serve the file, then update the fingerprint there.
Edit the file in your repo
Update .well-known/assetlinks.json in the web root and deploy. Make sure the static folder isn't skipped by your build.
Set the content type
Serve it as application/json with a 200 status and no redirect.
How to confirm it's fixed
- The file loads at /.well-known/assetlinks.json with a 200 status, no redirect.
- The SHA-256 matches the Play Console App signing key certificate.
- package_name matches the app's applicationId.
- The Digital Asset Links API returns your statement for the domain.
- adb shell pm get-app-links shows the domain as verified (reinstall or run pm verify-app-links --re-verify if needed).
- Tapping a campaign link on a real Android phone opens the app.
Android caches verification results, so after fixing the file reinstall the app or run adb shell pm verify-app-links --re-verify com.example.app before testing.
How to prevent it happening again
- Update assetlinks.json whenever you change signing keys, enrol in Play App Signing or rotate keys.
- Keep a written note of which SHA-256 belongs to which key (upload, app signing, debug).
- Add the file to your release checklist next to the app build.
- Make sure site migrations and CDN or redirect rules keep /.well-known/ untouched.
- Test one campaign link on a real Android device after every app or site release.
How FunnelGuard handles this
FunnelGuard detects this issue. It reads your assetlinks.json and checks the fingerprints against a pinned reference. On the first run it pins the fingerprints it finds, or you can set the expected fingerprints per site. If the file later changes to something that doesn't match, or the expected SHA-256 is missing, you get one alert with a screenshot and a likely cause, after a re-check from a second region.
Note the limit: pinning on the first run assumes the file was right at that moment, so set the expected fingerprint yourself if you're unsure. FunnelGuard doesn't open your app on a device. The Free plan covers 1 site and 2 journeys with daily checks and no card, and a free read-only website audit is available.
Questions people ask
Why are my Android App Links opening in the browser instead of the app?
The most common cause is that Android couldn't verify your domain. The SHA-256 fingerprint in assetlinks.json often doesn't match the key that signs the installed app, for example the upload key instead of the Play app signing key. Fix the fingerprint and re-verify.
Where do I find the SHA-256 fingerprint for assetlinks.json?
If you use Play App Signing, open Google Play Console, choose your app, then Test and release > Setup > App signing, and copy the SHA-256 under App signing key certificate. For self-signed apps, run keytool -list -v against your keystore.
Can I use a SHA-1 fingerprint in assetlinks.json?
No. The sha256_cert_fingerprints field only accepts SHA-256 values. A SHA-1 hash is shorter (20 byte pairs against 32) and will never match, so verification fails.
Should assetlinks.json have the upload key or the app signing key?
Use the app signing key when Google Play re-signs your app, because that is the key on the installed copy. Add the upload key only if you also distribute builds signed with it, such as internal tests.
Can assetlinks.json contain more than one fingerprint?
Yes. sha256_cert_fingerprints is an array, so you can list release, debug or several keys. Android accepts the link if the installed app's certificate matches any of them.
How do I check whether Android verified my domain?
On a device with the app installed, run adb shell pm get-app-links your.package.name. A domain marked verified is working. You can also query Google's Digital Asset Links API for your domain.
Why did App Links stop working after I changed my signing key?
The new key has a new fingerprint, and assetlinks.json still lists the old one. Add the new SHA-256 to the file and re-verify the app.
Related issues
- APP-013assetlinks.json missing, redirected, wrong content type or malformedFix guide
- APP-017Android app's intent filters don't cover the campaign URLFix guide
- APP-015Deep link's web page answers 404 for people without the appFix guide
- APP-018Deferred deep link loses the campaign or destination after installFix guide
- APP-016Attribution link (Adjust, AppsFlyer, Branch, Firebase) broken or sending to the wrong storeFix guide
- APP-011Campaign URL not covered by the Universal Links rules (path excluded or missing)Fix guide