Skip to content

RuStore module

  • Enum: AffiseModules.RUSTORE (lib/module/affise_modules.dart:15)
  • Native key: "RuStore" (lib/module/affise_modules.dart:51)

“Install referrer for Android RuStore”

README 1648

Terminal window
flutter pub add affise_attribution_lib
flutter pub add affise_attribution_module_rustore

or add the dependency to pubspec.yaml:

dependencies:
affise_attribution_lib: ^1.7.16
affise_attribution_module_rustore: ^1.7.16

The package does not expose a Dart API of its own — it only pulls in the native module dependency:

  • Android: com.affise:module-rustore:1.7.16

Module APIs (Affise.module.*, AffiseModules) remain in affise_attribution_lib.

Instead of the Flutter package you can add the native dependency to the platform project yourself (README #### Native):

implementation "com.affise:module-rustore:$affise_version"

Once installed, use the generic referrer APIs to read RuStore install data:

Affise.getReferrerUrl((value) {
// handle referrer
});

See Referrer for the full API.

  • REFERRER_UPDATED — per CHANGELOG 1.6.52: “Provider REFERRER_UPDATED for modules Huawei, RuStore”