Phone module
- Enum:
AffiseModules.PHONE(lib/module/affise_modules.dart:12) - Native key:
"Phone"(lib/module/affise_modules.dart:43)
Purpose
Section titled “Purpose”README 819-822 — collects phone-level metadata such as mobile network type and carrier ISP on Android.
Platform
Section titled “Platform”Install
Section titled “Install”flutter pub add affise_attribution_libflutter pub add affise_attribution_module_phoneor add the dependency to pubspec.yaml:
dependencies: affise_attribution_lib: ^1.7.16 affise_attribution_module_phone: ^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-phone: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-phone:$affise_version"ProviderType contributions
Section titled “ProviderType contributions”NETWORK_TYPE— native key"network_type"(lib/parameters/provider_type.dart:120, native key at:356)ISP— native key"isp"(:121,:358)