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).
- Digital Asset Links — Host a
/.well-known/assetlinks.jsonfile onhttps://your-subdomain.deeplink-domain.comthat includes your app’s package name and SHA-256 fingerprint. DeepLink may provide this or you configure it on your domain. This is required forandroid:autoVerify="true"to work.
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:invyto_deeplink package docs or example for the exact rules.
4. Initialize the SDK
In your Flutter app, call the SDK init with your DeepLink API base URL (see Quickstart). The SDK will use the install referrer on first launch and report the install to the Track Install API.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.

