RuStore module
- Enum:
AffiseModules.RUSTORE(lib/module/affise_modules.dart:15) - Native key:
"RuStore"(lib/module/affise_modules.dart:51)
Purpose
Section titled “Purpose”“Install referrer for Android RuStore”
README 1648
Platform
Section titled “Platform”Install
Section titled “Install”flutter pub add affise_attribution_libflutter pub add affise_attribution_module_rustoreor add the dependency to pubspec.yaml:
dependencies: affise_attribution_lib: ^1.7.16 affise_attribution_module_rustore: ^1.7.16The 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.
Native setup — alternative (Android)
Section titled “Native setup — alternative (Android)”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"Example
Section titled “Example”Once installed, use the generic referrer APIs to read RuStore install data:
Affise.getReferrerUrl((value) { // handle referrer});See Referrer for the full API.
ProviderType contributions
Section titled “ProviderType contributions”REFERRER_UPDATED— per CHANGELOG 1.6.52: “ProviderREFERRER_UPDATEDfor modulesHuawei,RuStore”