What you’ll achieve
Android verifies your site↔app relationship by fetching /.well-known/assetlinks.json from your website. This recipe publishes that file.
You’ll need
- The Digital Asset Links JSON for your app. The Play Console generates it: Setup → App signing → Digital Asset Links (it includes your package name and the SHA-256 signing-certificate fingerprint).
- A site served over HTTPS.
Steps
- Go to Local App Setup → Universal Link.
- Paste the full JSON into Android Digital Asset Links JSON. The value is validated — invalid JSON is rejected with an error notice and nothing is saved.
- Click Save. The plugin writes
/.well-known/assetlinks.jsonand adds theapplication/jsoncontent-type rule to.htaccess(managed marker block). A self-check confirms the file is served as JSON and logs anadmin_alertto the MAM debug log if not. - Verify with Google’s checker:
https://digitalassetlinks.googleapis.com/v1/statements:list?source.web.site=https://yoursite.com&relation=delegate_permission/common.handle_all_urls
Troubleshooting
- App still opens the browser — the fingerprint in the JSON must be the Play App Signing certificate (the one Google signs releases with), not your upload key. Re-copy from the Play Console.
- Multiple apps or both debug and release builds — the JSON is an array; paste the complete array with one statement per certificate.
Related articles
- Set up iOS universal links
Metadata
| Field | Value |
|---|---|
| Article type | Recipe |
| Plugin slug | mam-universal-link-manager |
| Applies to plugin version | 26.24.1+ |
| Category | Setup |
| Audience | Site operator |
| Last verified | 2026-06-12 |
