A user taps a link in an email, an ad or a message from a friend and expects to land straight on a specific product, invite or article in your app. Instead they get the home screen, the mobile website or, worse, a store page — and after installing they end up in onboarding and forget why they came. Every such break is a lost conversion.

On 25 August 2025 Google finally shut down Firebase Dynamic Links, which thousands of apps relied on. This article covers how we at Mosmox build deep links in 2026: native Universal Links and App Links, deferred links for new users, choosing between building it yourself and using an attribution provider, and verifying it all works.

TypeLooks likeApp installedApp not installedVerdict
Custom URL schememyapp://product/42Opens the app (on iOS, sometimes after a prompt)Error or nothingFallback only; another app can claim the scheme
Universal Links (iOS)https://example.com/product/42Opens the right screenOpens the websiteThe iOS standard
App Links (Android)https://example.com/product/42Opens the right screen with no chooser dialogOpens the websiteThe Android standard
Deferred linkhttps://link.example.com/abcOpens the right screenStore → install → right screen on first launchNeeded for ads, referrals, invites

The big advantage of Universal Links and App Links is that they're ordinary HTTPS URLs whose ownership is proven by a file on your domain. Another app can't hijack them, and if the app isn't installed the user lands on your website rather than nowhere.

  1. The association file. Host apple-app-site-association (no extension) at https://example.com/.well-known/apple-app-site-association. It must be served over HTTPS with a valid certificate, with no redirects, as application/json. The file lists your App ID (Team ID + bundle ID) and the path patterns the app should handle.
  2. The entitlement. In Xcode, add the Associated Domains capability with an applinks:example.com entry for every domain and subdomain.
  3. Handling in code. The app receives the URL via NSUserActivity (in SwiftUI, onOpenURL / onContinueUserActivity), parses the path and routes to the right screen — including from a cold start.
  4. Verification. Since iOS 14, devices fetch the association file through Apple's CDN rather than directly from your server, so updates take effect with a delay. For development, the ?mode=developer entitlement option makes the device query your server directly.

Limitations worth knowing

  • A link typed into Safari's address bar won't open the app.
  • Tapping a Universal Link on a page of the same domain in Safari keeps the user in the browser — which is why web-to-app links often live on a separate subdomain.
  • Some in-app browsers in social networks and messengers open links inside themselves. An interstitial page with an "Open in app" button helps here.
  • If a user chooses "Open in Safari" via long-press, iOS remembers that choice for the domain.
  1. The Digital Asset Links file. Host assetlinks.json at https://example.com/.well-known/assetlinks.json with your package name and the SHA-256 fingerprints of your signing certificate.
  2. The right fingerprint. With Play App Signing enabled, you need the app signing key fingerprint from Play Console, not your upload key. This is the most common reason links work in a debug build but not in the store version. Include both fingerprints if you test internal builds.
  3. Intent filter. In the manifest, a filter with android:autoVerify="true", the https scheme, host and path patterns.
  4. Verification. adb shell pm get-app-links and adb shell pm verify-app-links --re-verify show the verification state per domain.

Since Android 12, unverified web links open in the browser by default — not in your app and not in a chooser. So a mistake in assetlinks.json now means deep links silently fail for most users.

The hardest case: the person doesn't have the app yet. The link has to carry them through the store and, on first launch, open exactly what they tapped — a friend's invite, a promo code, a specific product from an ad.

Android

There's a reliable official mechanism: the Play Install Referrer API. The referrer parameter on a Google Play link is handed to the app after install. Encode a content or campaign ID in it and read it on first launch.

iOS

There's no official equivalent, and that's the core difficulty. Approaches that work:

  • The account as a bridge. If the flow involves sign-in (a team invite, access to an order), store the context on the server and attach it to the account after sign-up. The most reliable option with no third parties.
  • The clipboard. The interstitial page copies a token and the app reads it on first launch. Since iOS 16 the system asks permission to paste, so this only suits flows where the user understands why (an explicit "Copy invite code" button, for example).
  • Attribution providers. Branch, AppsFlyer OneLink, Adjust and similar services handle routing, interstitial pages and install matching. Accuracy on iOS depends on App Tracking Transparency consent and on the methods Apple's rules allow.

Important: Apple explicitly prohibits device fingerprinting (matching on IP, model, OS version) for tracking, regardless of consent. If you or your vendor rely on such methods, your app's listing is at risk.

OptionProsConsBest for
Build it yourself: Universal Links + App Links + Install Referrer + interstitial pageNo vendor lock-in, you own the data, no subscription2–4 weeks of work, weaker deferred attribution on iOSApps where links mean content sharing and sign-in-based invites
Attribution provider (Branch, AppsFlyer, Adjust)Deferred links, ad attribution and campaign analytics out of the boxCosts grow with volume, a third-party SDK, privacy obligationsApps with paid acquisition and referral programmes
HybridNative links for content, the provider only for ad campaignsTwo systems to keep consistentMid-size and large products

During Dynamic Links migrations we kept seeing one problem: old page.link short links lived on in email campaigns, QR codes on packaging and partner articles. When the service shut down they stopped working, and there's no way to bring them back. So use only your own domain for new links — then a future vendor change won't break a single one.

Routing inside the app

Receiving the URL is half the job. Next you need centralised routing:

  • One router that maps URLs to screens; no scattered handlers on individual screens.
  • Authentication. If a link targets a screen that requires sign-in, store the destination, take the user through sign-in and return them to it.
  • Building the back stack. After opening a product, "Back" should go to the catalogue, not close the app.
  • Unknown and outdated paths open the nearest sensible screen, not a blank page or a crash.
  • Security. Link parameters are untrusted input. A deep link must not perform actions without confirmation (payment, deletion, settings changes) or open protected screens without a session.
  • Analytics. An open event with source and campaign parameters tells you which links actually work.

Common mistakes

  1. A redirect on the association file. The server redirects example.com to www.example.com, or http to https, for the .well-known path — and verification silently fails.
  2. The upload key fingerprint in assetlinks.json instead of the Play Console signing key.
  3. Cold start not handled. The link works when the app is already open and gets lost when it launches from scratch.
  4. Links on a third-party domain. Depending on someone else's service that can shut down, exactly as Dynamic Links did.
  5. No web version of the path. A user without the app sees a 404 instead of a page with the content and an install button.
  6. Testing a single scenario. Checked from Notes on your own iPhone, but not from Gmail, Instagram, Telegram or Android devices from different manufacturers.
  • apple-app-site-association and assetlinks.json are reachable over HTTPS without redirects, with the right content type.
  • assetlinks.json contains the Play App Signing key fingerprint.
  • Associated Domains and the autoVerify intent filter cover every domain and subdomain.
  • Links open the right screen from both a cold start and the background.
  • Every path has a fallback web page.
  • Deferred links work on Android via Install Referrer; an iOS strategy is chosen and tested.
  • Tested from mail clients, messengers and social in-app browsers.
  • Protected screens require sign-in; links never perform actions without confirmation.
  • All new links use your own domain; old page.link links have been found and replaced where possible.
  • Link-open events reach analytics with source and campaign.

Sources: Firebase Dynamic Links Deprecation FAQ; Apple: Supporting associated domains; Apple: Allowing apps and websites to link to your content; Android App Links; Verify Android App Links; Play Install Referrer API; Apple: User Privacy and Data Use.