Skip to content
pubscout

stack_deferred_link

1.0.1, released 10 months ago by stackobea.com

Enables Android Install Referrer and iOS clipboard deferred deep linking.

$ flutter pub add stack_deferred_link
Source repository

What it does

Extracts referral metadata and deep link parameters on Android using the Play Install Referrer API and on iOS using clipboard pattern matching. It enables landing users on exact screens after app installation without requiring third-party attribution SDKs.

AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need deferred deep linking without heavy attribution SDKs like Branch or Adjust.
  • You want to extract Android install referral parameters or read iOS clipboard deep links on first launch.

Skip it when

  • You need direct runtime deep linking for already installed apps.
  • You require web or desktop support for deferred linking.

Strengths

  • Lightweight and 100% offline with no network calls or external tracking SDKs.
  • Works out-of-the-box on Android and handles iOS Private Relay limitations via clipboard reading.

Weaknesses

  • Unsupported on Web, Desktop, and iOS when clipboard deep links are not present or disabled.
  • Requires manual website/backend setup to pass referral links into the Play Store or clipboard.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
1

No permissions required on Android or iOS. Android includes the required install referrer library automatically.

Future<void> _init() async {
  if (Platform.isAndroid) {
    final info = await StackDeferredLink.getInstallReferrerAndroid();
    final params = info.asQueryParameters;
  } else if (Platform.isIOS) {
    final res = await StackDeferredLink.getInstallReferrerIos(
      deepLinks: ["example.com", "example.com/profile"],
    );
  }
}

Alternatives

Packages that do the same job and could replace stack_deferred_link.

Works with

Packages commonly used together with stack_deferred_link: ones it builds on, ones built on it, and its own family.