Network module
- Enum:
AffiseModules.NETWORK(lib/module/affise_modules.dart:10) - Native key:
"Network"(lib/module/affise_modules.dart:39)
Purpose
Section titled “Purpose”README 812-817 — collects MAC address hashes, connection type, and proxy IP for attribution on Android.
Platform
Section titled “Platform”Install
Section titled “Install”flutter pub add affise_attribution_libflutter pub add affise_attribution_module_networkor add the dependency to pubspec.yaml:
dependencies: affise_attribution_lib: ^1.7.16 affise_attribution_module_network: ^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-network: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-network:$affise_version"ProviderType contributions
Section titled “ProviderType contributions”MAC_SHA1— native key"mac_sha1"(lib/parameters/provider_type.dart:114, native key at:346)MAC_MD5— native key"mac_md5"(:115,:348)CONNECTION_TYPE— native key"connection_type"(:116,:350)PROXY_IP_ADDRESS— native key"proxy_ip_address"(:117,:352)