Network module
Purpose
Section titled “Purpose”Populate network connectivity providers (MAC address hashes, connection type, proxy IP).
Module constant
Section titled “Module constant”AffiseModules.NETWORK = "Network"(src/module/AffiseModules.ts:1-16)
Platform notes
Section titled “Platform notes”Android only. No TypeScript surface beyond the module gate.
Installation
Section titled “Installation”Since 1.7.16 the module ships as its own npm package, affise-attribution-module-network (Android). Install it next to the core library:
npm install affise-attribution-libnpm install affise-attribution-module-networkThe package only pulls in the native dependency (com.affise:module-network at 1.7.16); its JS entry point is empty, so keep importing everything from affise-attribution-lib. Rebuild the Android app after installing.
Manual native alternative
Section titled “Manual native alternative”Instead of the npm package you can add the native dependency yourself (README “Modules → Manual Native”):
implementation "com.affise:module-network:$affise_version"Providers contributed
Section titled “Providers contributed”From src/parameters/ProviderType.ts:112-115:
MAC_SHA1MAC_MD5CONNECTION_TYPEPROXY_IP_ADDRESS