Guide #47 · Play Console Setup & Error Troubleshooting · 10 min read · 1778 words · Verified 2026-11-25

Verifying Android App Links & Digital Asset Links (assetlinks.json) Under Google Play App Signing During 14-Day Closed Testing

Prevent magic links, OAuth redirects, and Trusted Web Activities from falling back to Chrome during your 14-day closed test by serving multi-certificate SHA-256 Digital Asset Links and auditing domain verification via ADB.

By GOOtester Android Release Engineering (Android Security, Signing & Build Systems)

Android 15 Package Manager domain verification handshake fetching /.well-known/assetlinks.json and matching Google Play App Signing SHA-256 fingerprints
Cryptographic domain verification linking your HTTPS origin to both Upload and Play App Signing SHA-256 certificates.

Executive Summary & Citation-Ready Key Takeaways (TL;DR)

  • On Android 12 through Android 15, failed android:autoVerify="true" domain checks no longer display an app-disambiguation dialog—unverified HTTPS deep links silently fall back to Chrome instead of waking your installed app.
  • Your hosted https://<domain>/.well-known/assetlinks.json file must include Google Play App Signing's uppercase colon-separated SHA-256 certificate fingerprint alongside your local debug and upload SHA-256 hashes for seamless verification across all environments and build types.
  • Android's DomainVerificationManager strictly rejects /.well-known/assetlinks.json endpoints that return HTTP 301 or 302 redirects (such as apex-to-www hops), non-JSON Content-Type headers, TLS certificate warnings, or WAF bot-fight challenges against Google's association proxy service.
  • If your release AndroidManifest.xml declares multiple hosts inside autoVerify intent-filters, strip unreachable localhost or staging subdomains via Gradle build variants so every production host verifies cleanly inside Play Console Deep Links.
  • Deploying an updated /.well-known/assetlinks.json file on your web server and running adb shell pm verify-app-links --re-verify fixes Closed Testing magic links and TWA fullscreen mode without rebuilding your .aab or bumping versionCode.
Diagnostic flowchart resolving 1024 legacy_failure, HTTP 301 redirects, and missing Play App Signing SHA-256 entries in assetlinks.json
Why Android 12+ silently sends unverified App Links to the browser instead of opening your Closed Testing build.

5. 5. Framework Traps Across TWA, Expo Router & Capacitor

Cross-platform frameworks add one extra layer between Android's `Intent` delivery and your UI router. Setting `android:launchMode="singleTask"` (or `singleTop` with `onNewIntent` forwarding) is critical; otherwise, clicking a magic link opens a duplicate second task stack on top of your existing app instance.

In **Expo (React Native)**, verify that `android.intentFilters` inside `app.json` sets `"autoVerify": true`, and test cold-start URL retrieval via `Linking.useURL()` from `expo-linking`. In **Capacitor**, ensure `App.addListener('appUrlOpen', ...)` is registered early at root initialization so cold-boot auth tokens are never dropped before the WebView finishes hydrating.

In **Bubblewrap / Trusted Web Activities**, also run `./gradlew bundleRelease` after updating `twa-manifest.json` `fingerprints` if your local asset descriptor cache references stale hashes, and verify zero URL bar visibility across physical devices.

  • TWA / Bubblewrap: Missing Play App Signing SHA-256 causes Chrome Custom Tabs fallback with a visible top address bar.
  • Expo Router: Adding `intentFilters` to `app.json` modifies native `AndroidManifest.xml`—requiring a full `eas build` `.aab`, not just an OTA `eas update`.
  • Capacitor: Override `onNewIntent` properly (handled in modern `BridgeActivity`) and test both cold-terminated and backgrounded deep-link resumption.
  • Credential Manager Passkeys: Including `delegate_permission/common.get_login_creds` in the same `assetlinks.json` unlocks seamless Android passkey autofill.

Actionable Pre-Submission Verification Checklist

  • Copy the uppercase colon-separated SHA-256 fingerprint under 'App signing key certificate' in Play Console > Setup > App signing.
  • Publish /.well-known/assetlinks.json containing Debug, Upload, and Play App Signing SHA-256 fingerprints on every manifest host.
  • Confirm curl -i https://<domain>/.well-known/assetlinks.json returns HTTP 200 OK directly with Content-Type: application/json and zero redirects.
  • Remove staging or localhost host entries from release AndroidManifest.xml autoVerify intent-filters.
  • Verify Play Console > Grow > Deep links reports zero domain verification or manifest configuration errors.
  • Run adb shell pm get-app-links <package> on a Play-installed physical device to confirm 'verified' status before inviting testers@gootester.com.

Frequently Asked Questions

Does assetlinks.json use SHA-1 or SHA-256 from Google Play App Signing?

Android Digital Asset Links strictly uses uppercase colon-separated SHA-256 certificate fingerprints (sha256_cert_fingerprints). Putting a shorter 20-byte SHA-1 fingerprint into assetlinks.json causes domain verification to fail silently.

Do I have to upload a new .aab if I forgot to add the Play App Signing SHA-256 to my website's assetlinks.json?

No—as long as your AndroidManifest.xml already includes android:autoVerify="true" and the correct https host, deploying the updated /.well-known/assetlinks.json to your web server fixes domain verification for all new installs (and periodic background re-checks) without rebuilding your app.

Why does adb shell pm get-app-links show status code 1024 on my Closed Testing build?

Status code 1024 (legacy_failure) means Android fetched your /.well-known/assetlinks.json or encountered an HTTP redirect/error and could not match the installed APK's SHA-256 signature. Check for apex-to-www 301 redirects, WAF bot blocks, or using your Upload Key instead of your Play App Signing Key.

Why is my PWA / Trusted Web Activity showing a Chrome address bar in Closed Testing?

Trusted Web Activities hide the browser UI only when bidirectional Digital Asset Links verification succeeds. Add your Play App Signing SHA-256 fingerprint to /.well-known/assetlinks.json on the exact startUrl origin so Chrome validates ownership and enters fullscreen mode.

Need 12 to 25 Real Consented Human Testers for 14 Consecutive Days?

One-time per-app pricing ($6 Basic · $12 Standard · $20 Premium). Service clock starts only after Play Console Google Group (testers@gootester.com) setup verification.

Related Google Play Engineering Guides