Why Redirectly for Flutter?
The Flutter Redirectly SDK (flutter_redirectly) is a pure Dart implementation. You add the package, configure your subdomain in AndroidManifest and Runner.entitlements, and initialize the SDK. No native Kotlin or Swift code needed for deferred deep linking or install attribution.
- Deferred deep linking: links that survive app install and route users to the right screen.
- Install attribution: match installs to link clicks so you know which campaigns drive installs.
- Real-time analytics: clicks, devices, UTM parameters, and geo data in the dashboard.
- Universal Links (iOS) and App Links (Android) with a single subdomain.
Deferred deep linking
Links survive app install and route to the right content.
Install attribution
Match installs to link clicks and campaigns.
Pure Dart
No native code required for basic setup.
Quick start
Add flutter_redirectly to your pubspec, set your subdomain in Android and iOS config, then initialize with your API key. Listen for incoming links and install attribution in your app.
pubspec.yaml
dependencies: flutter_redirectly: ^2.1.6
Initialize (e.g. main.dart)
await redirectly.initialize(RedirectlyConfig( apiKey: 'your-api-key', debug: true, ));
Full setup and API details are in the Flutter SDK docs.
Android and iOS configuration
You need to declare your Redirectly subdomain (e.g. yourapp.redirectly.app) in both platforms so the OS routes links to your app.
- Android: Add an intent filter with
android:autoVerify="true"and your subdomain as host in AndroidManifest.xml. - iOS: Add Associated Domains (e.g.
applinks:yourapp.redirectly.app) in Runner.entitlements and enable the capability in your Apple Developer account.
Redirectly hosts the required apple-app-site-association and assetlinks.json files for your subdomain, so you don't need to host them yourself.
Migration from Firebase Dynamic Links
If you're migrating from Firebase Dynamic Links, Redirectly offers a similar flow: initialize with API key, listen for links and install attribution. See our Firebase Dynamic Links alternative page and migration guide for step-by-step instructions and code comparisons.
Deep linking guide and deferred deep linking pages cover the concepts.