install_referrer 1.0.1 copy "install_referrer: ^1.0.1" to clipboard
install_referrer: ^1.0.1 copied to clipboard

outdated

Detect from where your application was installed (Google Play, App Store, TestFlight…)

install_referrer #

A Flutter plugin that allows you to detect how your application was installed.

Supported platforms #

  • Android: ✅
  • iOS: ✅

Feel free to open a PR to support new platforms.

Installation #

  1. Add install_referrer: ^1.0.0 to your pubspec.yaml file.
  2. Import import 'package:install_referrer/install_referrer.dart';
  3. Get the value by invoking the Future InstallReferrer.referrer

Possibles values #

Android #

Store Value
Google Play InstallationAppReferrer.androidGooglePlay
Amazon App Store InstallationAppReferrer.androidAmazonAppStore
Samsung App Shop InstallationAppReferrer.androidSamsungAppShop
Others InstallationAppReferrer.androidManually

If the application was installed from a third party app (eg: GMail, Google Drive, Chrome…), it will be considered as a manual installation (InstallationAppReferrer.androidManually).

If the application was installed from a store (FDroid, Amazon App Shop…) which was not preinstalled on the device (a "non-system" app), it will also be considered as a manual installation (InstallationAppReferrer.androidManually).

If the Android application is in debug mode, it will be marked as InstallationAppReferrer.androidDebug.

iOS #

Store Value
App Store InstallationAppReferrer.iosAppStore
Test Flight InstallationAppReferrer.iosTestFlight

If the iOS application is in debug mode (eg: from the simulator), it will be marked as InstallationAppReferrer.iosDebug.

53
likes
0
pub points
89%
popularity

Publisher

verified publisherdaad.mobi

Detect from where your application was installed (Google Play, App Store, TestFlight…)

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on install_referrer