Skip to content

Hardware module

Artifact: com.affise:module-hardware (module-hardware/build.gradle:36). Available since 1.7.18.

implementation("com.affise:module-hardware:1.7.18")

Contributes device and hardware values to the Affise providers map.

Entry class: HardwareModule : AffiseModule() (module-hardware/src/main/java/com/affise/attribution/module/hardware/HardwareModule.kt:12). Enum value: AffiseModules.Hardware (AffiseModules.kt:17).

No publicly-exposed API on Affise.Module. To read the values, call Affise.getProviders().

None beyond core.

None. module-hardware/src/main/AndroidManifest.xml is empty and declares no permissions.

HardwareModule.kt:26-46: USER_AGENT, CPU_TYPE, CPU_CORES, DEVICE, BUILD, DEVICE_NAME, SCREEN_WIDTH, SCREEN_HEIGHT, DENSITY, HARDWARE_NAME, DEVICE_TYPE, OS_VERSION, OS_AND_VERSION, MCCODE, MNCODE, TIMEZONE_DEV, LANGUAGE, COUNTRY, REGION.

See Device info — Hardware group.