1. Install Referrer (for install attribution)
Add the Play Install Referrer dependency inandroid/app/build.gradle:
2. App Links (for opening the app from links)
So thathttps://your-subdomain.deeplink-domain.com/your-path opens your app:
- Intent filters — In
android/app/src/main/AndroidManifest.xml, add an intent filter for your DeepLink host and path. Replace the host with the subdomain you use in the DeepLink dashboard (e.g. your app’s subdomain).
Note: DeepLink automatically handles the required Digital Asset Links (/.well-known/assetlinks.json) for both managed and custom domains once you configure your app (package name and SHA-256 fingerprint) in the dashboard. You don’t need to host or manage this file yourself.
3. ProGuard / R8 (if you use shrinking)
If you enable code shrinking, keep the Install Referrer and any DeepLink SDK classes from being stripped. For example:deeplink_flutter_sdk package docs or example for the exact rules.
4. Initialize the SDK
In your Flutter app, call the SDKinit with your API key (and optional base URL) as shown in Quickstart. On first launch, the SDK will:
- Read the Play Install Referrer (when present) or use a stored
linkId. - Report the install to the Track Install API so clicks from your DeepLink domain can be attributed.
Troubleshooting
- App doesn’t open from link — Confirm the host in the intent filter matches the link domain, and that
assetlinks.jsonis reachable and correct. - Install not attributed — Ensure the Install Referrer dependency is added and the user actually installed from a link that points to your DeepLink domain (and that the referrer is set by the store/link).
iOS setup
Configure Associated Domains for iOS.

