install_referrer
1.2.1, released 5 years ago by daad.mobi
Detect from where your application was installed like Google Play, App Store, or TestFlight.
What it does
A Flutter plugin that detects the installation source of your application on Android and iOS. It provides futures, widgets, and listeners to retrieve referrer details and package names.
AI-written summary of version 1.2.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to track acquisition sources or app store origins
- You want to display installation metadata inside a Flutter widget
Skip it when
- You are targeting unsupported platforms beyond Android and iOS
- You require complex mobile attribution beyond simple store detection
Strengths
- Supports multiple popular Android app stores and iOS platforms
- Provides convenient widgets like InstallReferrerDetectorBuilder and InstallReferrerDetectorListener
- Easy to integrate with a single Future or widget call
Weaknesses
- Limited to Android and iOS platforms
- Third-party or non-preinstalled stores on Android default to manual installation values
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add the dependency to pubspec.yaml and import the package. No complex configuration documented.
InstallReferrerDetectorBuilder(
builder: (BuildContext context, InstallationApp? app) {
if (app == null) {
return const CircularProgressIndicator.adaptive();
} else {
return Text('Package name:\n${app.packageName ?? 'Unknown'}');
}
},
);Alternatives
Packages that do the same job and could replace install_referrer.
- launch_app_store
Flutter plugin to leave reviews and ratings in Google Play Store and Apple App Store.
71Compare - google_api_availability
Check the availability of Google Play services on an Android device.
88Compare - check_app_version
Check app version against app stores or remote JSON and display update dialogs.
74Compare - play_install_referrer
Flutter plugin to fetch Android Play Store install referrer details
81Compare