Skip to main content

ConsentDebugSettings

Debug settings to hardcode in consent requests, useful for testing the consent flow during development.

Properties

Properties

debug_geographyclass-attributeinstance-attribute

debug_geography: DebugGeography | None = None

The geography to simulate when gathering consent on test devices.

test_identifiersclass-attributeinstance-attribute

test_identifiers: list[str] | None = None

A list of device identifiers for which debug features (such as debug_geography) are enabled.

Note

Simulators and emulators are automatically registered as test devices, so this is only needed for physical devices.

A physical device's hashed ID is printed to the native device log (Xcode console/Console.app on iOS, adb logcat on Android) the first time a consent request is made from it.