Skip to content

AndroidId module

Android counterpart of the iOS Persistent module: keeps the Affise random device ID stable across app reinstalls. for background.

  • AffiseModules.ANDROIDID = "AndroidId" (src/module/AffiseModules.ts:1-16)
  • Android only. No JS surface beyond the module gate.

Add the Maven coordinate to your app-level build.gradle:

implementation "com.affise:module-androidid:$affise_version"

From src/parameters/ProviderType.ts:2-83, the core attribution group already declares:

  • ANDROID_ID
  • ANDROID_ID_MD5
  • AFFISE_DEVICE_ID
  • AFFISE_ALT_DEVICE_ID