ConsentDebugSettings
Debug settings to hardcode in consent requests, useful for testing the consent flow during development.
Properties
debug_geography- The geography to simulate when gathering consent on test devices.test_identifiers- A list of device identifiers for which debug features (such asdebug_geography) are enabled.
Properties
debug_geographyclass-attributeinstance-attribute
debug_geography: DebugGeography | None = NoneThe geography to simulate when gathering consent on test devices.
test_identifiersclass-attributeinstance-attribute
test_identifiers: list[str] | None = NoneA 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.