AndroidId module
- Enum:
AffiseModules.ANDROIDID(lib/module/affise_modules.dart:6) - Native key:
"AndroidId"(lib/module/affise_modules.dart:31)
Purpose
Section titled “Purpose”“Persistent device id for Android”
README 683-687
Platform
Section titled “Platform”Install
Section titled “Install”flutter pub add affise_attribution_libflutter pub add affise_attribution_module_androididor add the dependency to pubspec.yaml:
dependencies: affise_attribution_lib: ^1.7.16 affise_attribution_module_androidid: ^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-androidid: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-androidid:$affise_version"ProviderType contributions
Section titled “ProviderType contributions”ANDROID_ID— native key"android_id"(lib/parameters/provider_type.dart:42, native key at:210)ANDROID_ID_MD5— native key"android_id_md5"(:43,:212)