Apple Universal Links, assetlinks.json, Smart Banners & MobileApplication Schema Checklist
Published by FoundInAnswers • Reviewed by Rob Pfleghardt • 4 Verified References
Direct Answer: A complete technical Web-to-App setup requires five verified pieces: (1) <meta name="apple-itunes-app"> for iOS Safari Smart Banners, (2) /.well-known/apple-app-site-association served as valid JSON for iOS Universal Links, (3) /.well-known/assetlinks.json with your Play App Signing SHA-256 fingerprint for Android App Links, (4) MobileApplication JSON-LD on your homepage, and (5) HTTPS canonical backlinks in both store consoles.
| Technical Artifact | Exact URL or Tag Location | Required Header / Format | Most Common Production Bug |
|---|---|---|---|
| Apple Smart App Banner | Homepage & Guide <head> | <meta name="apple-itunes-app" content="app-id=..."> | Omitted completely (missing on 63% of app sites we tested) or wrong app-id |
| Apple Universal Links (AASA) | https://domain.com/.well-known/apple-app-site-association | application/json (HTTP 200, zero redirects) | SPA catch-all serving HTML (Soft-404) or missing 10-char Team ID prefix |
| Android Digital Asset Links | https://domain.com/.well-known/assetlinks.json | application/json array with SHA-256 cert | Using local debug keystore SHA-256 instead of Play App Signing SHA-256 |
| Store Console Backlinks | App Store sellerUrl + Play Developer Website | Canonical https://domain.com (no http://) | Left blank, set to http:// causing redirect hop, or pointing to Notion/Linktree |
1. Why Half-Finished Web-to-App Wiring Leaks Mobile Installs Every Day
Imagine earning a hard-won organic click from Google or ChatGPT on an iPhone: the reader lands on your guide, loves your product, and taps a link, only to get trapped inside an in-app webview or forced to manually type your brand name into the App Store because Safari showed no native Smart Banner and Universal Links failed validation.
Even seasoned mobile teams miss pieces of this handshake because web deployment (Cloudflare, Vercel, Netlify, Shopify) and mobile release management (App Store Connect, Google Play Console, Xcode Signing) live in separate repositories and dashboards.
Running a single deterministic checklist across all five Web-to-App touchpoints closes install leaks and unifies your web and mobile entities for search crawlers.
2. The Four Core Web-to-App Files & Tags Audited Side-by-Side
Both Apple’s CDN (AASA validator) and Google’s Digital Asset Links verifier enforce strict HTTP rules: they reject HTTP 301/302 redirects on verification files, reject self-signed TLS errors, and immediately fail if a single-page app serves index.html with HTTP 200.
Review the exact path, header requirement, and #1 production failure mode for each artifact below.
3. Copy-Paste JSON Templates: iOS Universal Links (AASA) & Android App Links
For iOS Universal Links, serve the file at /.well-known/apple-app-site-association (no .json file extension in the URL!) with Content-Type: application/json. Combine your 10-character Apple Developer Team ID with your iOS bundle identifier (for example, ABCDE12345.com.acme.app).
For Android App Links, serve /.well-known/assetlinks.json and make sure you copy the SHA-256 certificate fingerprint from Google Play Console -> Setup -> App signing ("App signing key certificate"), NOT your local laptop upload key!
// 1. Save at: public/.well-known/apple-app-site-association (Content-Type: application/json)
{
"applinks": {
"apps": [],
"details": [
{
"appIDs": ["TEAMID1234.com.yourcompany.app"],
"components": [
{ "/": "/app/*" },
{ "/": "/invite/*" }
]
}
]
}
}
// 2. Save at: public/.well-known/assetlinks.json (Content-Type: application/json)
[
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "com.yourcompany.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"
]
}
}
]4. Smart App Banners & Web Manifests: Converting Mobile Web Readers in One Tap
Adding <meta name="apple-itunes-app" content="app-id=YOUR_NUMERIC_ID, app-argument=https://yourdomain.com"> to your <head> instructs mobile Safari on iOS and iPadOS to render Apple’s native system banner across the top of the viewport, showing your verified app icon, real star rating, and an "OPEN" or "VIEW" button that users inherently trust.
Double-check that the numeric app-id matches your live production App Store ID (not a retired beta TestFlight or legacy listing ID), and pair it with <meta name="google-play-app" content="app-id=com.yourcompany.app"> plus related_applications in your /manifest.json if you offer an Android app.
5. Closing the Loop in App Store Connect & Google Play Console
Finally, open App Store Connect -> App Information -> Marketing URL (and Support URL) and Google Play Console -> Store settings -> Store listing contact details -> Website. Set both to your exact canonical https:// root (matching whether your site canonicalizes to apex https://yourdomain.com or https://www.yourdomain.com) with zero http:// redirect hops.
Also keep an eye on release cadence: listings whose currentVersionReleaseDate is more than 12 months old lose App Store ranking momentum and trigger staleness warnings for AI assistants evaluating active software.
Verified Primary Sources & Reference Citations
- Google Search Central: AI Features and Your Website (AI Overviews & AI Mode Guidance)
- OpenAI Platform Docs: OAI-SearchBot & GPTBot Crawler Documentation
- llms.txt Specification: The /llms.txt Proposal for LLM-Friendly Website Catalogs
- IndexNow Protocol: Instant Search Engine URL Notification Specification
Frequently Asked Questions
Why are my iOS Universal Links opening in Safari even though my AASA JSON is valid?
Three culprits cause 95% of Universal Link failures: (1) /.well-known/apple-app-site-association is redirecting (301/302) between www and non-www instead of returning direct HTTP 200 on the Associated Domains host, (2) Associated Domains (applinks:yourdomain.com) was not enabled in Xcode Entitlements, or (3) Apple’s CDN cached an older 404 response for up to 24 hours.
Why did Android App Links fail verification when my JSON syntax is valid?
When Google Play App Signing is enabled (the default for modern Play apps), Google re-signs your production APK/AAB with Google’s production signing key. You must list the SHA-256 fingerprint from Play Console -> App signing rather than your local upload certificate.
Can FoundInAnswers inject my Apple Smart Banner and MobileApplication JSON-LD automatically?
Yes. Our 1-line bridge.js script automatically injects <meta name="apple-itunes-app">, <meta name="google-play-app">, and @graph MobileApplication JSON-LD with your verified store links and AggregateRating on Day 1, while giving you copy-paste JSON files for /.well-known/.
Should /.well-known/apple-app-site-association have a .json extension?
No. The exact URL path requested by Apple’s CDN is /.well-known/apple-app-site-association with no file extension, so configure your static host headers (_headers in Cloudflare Pages or vercel.json headers) to serve Content-Type: application/json on that exact path.
Does tapping a link on the same domain inside Safari trigger Universal Links?
By iOS design, tapping a same-domain link while already browsing inside Safari keeps the user in Safari (respecting their web session), whereas tapping links from Messages, Mail, Notes, Slack, ChatGPT, Perplexity, or cross-domain search results opens your native app.