blaugold / user_messaging_platform

A flutter plugin which provides a Dart API for the User Messaging Platform (UMP) SDK, which is the Consent Management Platform (CMP) SDK provided as part of Google's Funding Choices.
https://pub.dev/packages/user_messaging_platform
MIT License
9 stars 7 forks source link

Please provide a way to test and force a geography #15

Closed oliverbytes closed 3 years ago

oliverbytes commented 3 years ago

Currently, there's no method to set/force the geography so we can test the form.

https://developers.google.com/admob/ump/android/quick-start#testing

blaugold commented 3 years ago

Hey @nemoryoliver,

You can force the geography for testing like this:

UserMessagingPlatform.instance.requestConsentInfoUpdate(ConsentRequestParameters(
  debugSettings: ConsentDebugSettings(
    geography: DebugGeography.EEA,
  )
));
oliverbytes commented 3 years ago

Thank you