Android App Links and iOS Universal Links Validator
Paste your two well-known files, see every structural error, test URLs against the path rules and get the intent filter, entitlement and adb commands.
Berjalan dalam pelayar anda. Fail anda tidak pernah meninggalkan peranti. Lihat cara menyemaknya
…
Cara melakukannya
- 1Enter your domain
Type the host the links use, without https.
- 2Paste assetlinks.json
Read the Android findings and the generated intent filter.
- 3Paste the AASA file
Review the ordered rules, findings and the entitlement snippet.
- 4Test URLs
List real links and the Android paths to see app or web per platform.
- 5Check hosting
Follow the checklist for HTTPS, content type and redirects.
- 6Run on a device
Copy the adb, simctl and curl commands from the commands tab.
Tentang alat ini
Deep links that open your app instead of the browser depend on two small JSON files on your website. Android reads /.well-known/assetlinks.json to confirm that the site trusts a package signed with a given certificate, and iOS reads /.well-known/apple-app-site-association to learn which app IDs may open which paths. When either file has a typo, a lower-case fingerprint, a missing Team ID or a path rule in the wrong order, links quietly open in Safari or Chrome and nobody gets an error message. This validator checks both files offline, explains each problem in plain words, shows the iOS rules in the order the system evaluates them, and lets you paste a list of URLs to see whether each one would open the app on iOS and on Android. It also writes the matching Android intent filter, the Associated Domains entitlement and the commands to test on a device or simulator.
Android checks
The file must be a JSON array. Each statement needs the relation delegate_permission/common.handle_all_urls, a target with namespace android_app, a valid application ID and at least one SHA-256 certificate fingerprint written as 32 upper-case hex pairs separated by colons. The tool flags SHA-1 fingerprints pasted by mistake, lower-case hex and single fingerprints when you probably need both the upload key and the Play App Signing key.
iOS checks
The applinks section needs details with appIDs (or the older appID) in the form TEAMID.bundle.id, where the Team ID has ten characters. Rules may be the modern components array, with path, query and fragment patterns and an exclude flag, or the older paths list where NOT marks an exclusion. The tool lists every rule, warns when both formats are present, and checks webcredentials for Password AutoFill.
URL tester
For each URL the tester reports app or web for both platforms. On iOS it walks the components top to bottom and stops at the first match, exactly as the system does, and shows which pattern decided. On Android it checks the host and the paths you list for your intent filter.
Hosting and commands
A checklist covers HTTPS, redirects, content type and subdomains. The commands tab writes adb shell pm verify-app-links, am start, xcrun simctl openurl and curl checks for the files and for Apple's CDN copy.
Limits
The validator does not fetch your live files because browsers block cross-origin requests to most sites; copy the files in or open them from disk. It cannot confirm that a fingerprint belongs to your signing key or that the Team ID matches your Apple account, so compare those values with Play Console and the Apple Developer portal.
Contoh berselesaian
A shop's iOS links to /account pages kept opening the app, which the team did not want. Their AASA listed /products/*, then /account/* with exclude set to true. The tester showed /account/settings matching nothing in the first two rules but a catch-all /* rule further down, and moving the exclusion to the top fixed it. On Android the assetlinks.json had one fingerprint in lower case; the validator flagged it, and after copying both upper-case SHA-256 values from Play Console, adb shell pm get-app-links reported the domain as verified.
Ringkasnya
- Kategori: Pembangun & data
- Berjalan dalam pelayar, tanpa pendaftaran, tanpa muat naik.
- Maklumat yang anda masukkan kekal pada peranti anda.
- Tersedia dalam bahasa Inggeris.
- Kandungan disemak kali terakhir:
- Sumber rasmi: Apple Developer, Supporting associated domains; Android Developers, Verify Android App Links
Soalan lazim
Why do my links open in the browser instead of the app?
Usually the well-known file is unreachable, redirected, served with the wrong content type, or does not match the app's package, fingerprint or Team ID. The validator catches the structural causes; the hosting checklist covers the rest.
Which SHA-256 fingerprint should I use with Play App Signing?
The app signing key certificate shown in Play Console under App integrity. Add your upload key as well if you install builds signed with it, for example internal test builds.
Does the order of iOS components matter?
Yes. iOS evaluates them in order and uses the first match, so exclusions must come before broader include patterns.
Do I need separate files for www and the bare domain?
Yes. Each host is verified on its own, so serve the files on every subdomain listed in your intent filter or entitlement.
How long until iOS sees a changed AASA?
Devices fetch it through Apple's CDN, which caches for hours. During development add ?mode=developer to the associated domain and enable associated domains development in device settings.
Is my file uploaded?
No. Validation runs in your browser and the files are kept only as a local draft.
