Status module
- Enum:
AffiseModules.STATUS(lib/module/affise_modules.dart:13) - Native key:
"Status"(lib/module/affise_modules.dart:45)
Purpose
Section titled “Purpose”README 520-526 — module status inspection. Also required by the deferred-deeplink APIs (README 1481, 1495).
Platform
Section titled “Platform”Cross-platform. No dedicated Affise.module.status accessor; use Affise.module.getStatus(...) with AffiseModules.STATUS as the module argument.
Native setup
Section titled “Native setup”- Android:
implementation "com.affise:module-status:$affise_version" - iOS:
pod 'AffiseModule/Status', affise_version
Dart API
Section titled “Dart API”void getStatus(AffiseModules module, OnKeyValueCallback callback);// lib/module/attribution/affise_attribution_module.dart:41// exposed as Affise.module.getStatustypedef OnKeyValueCallback = void Function(List<AffiseKeyValue> data); — lib/module/on_key_value_callback.dart:3.
class AffiseKeyValue { String key; String value; } — lib/module/affise_key_value.dart:1-12.
Example
Section titled “Example”Affise.module.getStatus(AffiseModules.STATUS, (response) { // handle status response});Deferred deeplinks
Section titled “Deferred deeplinks”Use the Deep linking feature page — Affise.getDeferredDeeplink and Affise.getDeferredDeeplinkValue both require this module.
List installed modules
Section titled “List installed modules”Future<List<AffiseModules>> getModulesInstalled();// lib/module/attribution/affise_attribution_module.dart:49ProviderType contributions
Section titled “ProviderType contributions”UNVERIFIED: ProviderType additions — the README does not enumerate.