Skip to content

Google module

Provides the odm_info value from Google’s On-Device Conversion Measurement SDK on iOS.

  • AffiseModules.GOOGLE = "Google" (src/module/AffiseModules.ts:15)
  • iOS only — backed by the native AffiseModule/Google subspec. There is no Android equivalent.
  • No dedicated JS accessor on Affise.module; use the constant with module gating (setDisableModules) and presence checks (Affise.module.getModulesInstalled()).

The React Native README’s iOS Podfile example does not yet list this subspec, but it can be added manually:

pod 'AffiseModule/Google', '1.7.8'

This pulls in Google’s GoogleAdsOnDeviceConversion SDK. See the iOS Google module page for native details.

ProviderType.ODM_INFO = "odm_info" (src/parameters/ProviderType.ts:87). Unlike AD_SERVICE_ATTRIBUTION / PUSHTOKEN_SERVICE, ODM_INFO is declared in the TypeScript ProviderType enum, so it is exposed to React Native consumers via Affise.getProviders().

  • Module status to query whether the module started successfully.