Skip to content
pubscout

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.

WASM-readyRepository archived
$ flutter pub add install_referrer
Source repository

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.