GrantTracking

actual object GrantTracking

Entry point for initializing the Grant Tracking module.

expect object GrantTracking

Entry point for initializing the Grant Tracking (App Tracking Transparency) module.

actual object GrantTracking

Entry point for initializing the Grant Tracking module.

Functions

Link copied to clipboard
actual fun initialize()

No-op on Android. There is no runtime permission for cross-app tracking: the advertising ID is gated by com.google.android.gms.permission.AD_ID, an install-time permission with no dialog. grant-core already reports APP_TRACKING as GRANTED there without a prompt.

expect fun initialize()

Initializes the App Tracking Transparency handler. Must be called before requesting dev.brewkits.grant.AppGrant.APP_TRACKING. It is safe to call this multiple times.

actual fun initialize()

Registers the App Tracking Transparency handler for iOS.