Android identifiers post Android 12

We’re seeing increasing numbers of users opting for isLimitAdTrackingEnabled() in Android 12 so we don’t get an Android “IDFA” (AdId). We have our own identifier that mimics the Apple IDFV across our own apps using shared storage.

My question is where we should put it. Should we fork the official mobile context or create our own to store this one?

How are others handling this?

If you are on a version of the Android tracker >= 1.2.1 I’d be tempted to add this as a global context using the addGlobalContext method with your own custom definition. Although it’s possible to use the mobileContext (the openIdfa field) this schema has some required properties that you may not want to set so I’d go with a vendor specific schema for now.


Thank you!

1 Like