Supported on: iOS SDK
1.0.61+ · Android SDK 1.0.33+ · React Native SDK 1.0.4+Deferred Deep Links
A deferred deep link works across the install boundary:- User clicks a link on the web (e.g.,
https://yourapp.com/workout/123?ref=instagram) - User is redirected to the App Store or Play Store and installs your app
- On first launch, the SDK resolves the original link and returns the destination
checkDeferredDeepLink is a static method on AppDNA. It should be called once on first launch, typically after configure() completes. The SDK returns null if no deferred link is found or if the app was not installed from a link. On Android, resolution uses the Google Install Referrer API plus AppDNA’s stored visitor context.Deferred Deep Link Check
checkDeferredDeepLink is a top-level static method on AppDNA, not part of the deep links module:
Module Access
Module Methods
DeferredDeepLink
AppDNADeepLinkDelegate
Register a delegate for deep link events:shouldOpen is a veto called BEFORE the SDK processes a deep link. Return false to defer routing (for example until after login completes) and handle the URL yourself once the user is authenticated. Return true to let the SDK proceed with default handling.
Example Implementation
Platform Setup
Deep links require platform-specific configuration in your iOS and Android host projects.iOS — Universal Links
To support Universal Links on iOS, configure your app:- Enable Associated Domains in your target’s Signing & Capabilities.
- Add your domain:
applinks:yourapp.com - Host an
apple-app-site-associationfile on your domain.
AppDelegate.swift or SceneDelegate.swift), forward incoming URLs to the SDK:
Android — App Links
- Add intent filters to your
AndroidManifest.xml:
- Host a Digital Asset Links file at
https://yourapp.com/.well-known/assetlinks.json. - In your
MainActivity.kt, forward the incoming intent’s data URL to the SDK:
Forwarding from TypeScript
If your app already parses deep links in TypeScript (e.g. via React Native’s built-inLinking API or the expo-linking package), forward them to the SDK so triggers, attribution, and the delegate fire consistently:
Auto-Tracked Events
Full Example
Deep link routes are configured in the Console under Engagement > Deep Links. The SDK resolves deferred links by checking the Google Install Referrer (Android) plus AppDNA’s stored visitor context on first launch.

