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 5 forks source link

How do I test in debug mode? #20

Open mdmota opened 1 year ago

mdmota commented 1 year ago

How do I test in debug mode?

BulbulH commented 6 months ago

Is there any option you found?

blaugold commented 6 months ago

You can provide ConsentDebugSettings to requestConsentInfoUpdate, for example, to set a DebugGeography:

UserMessagingPlatform.instance.requestConsentInfoUpdate(
  ConsentRequestParameters(
    debugSettings: ConsentDebugSettings(geography: DebugGeography.EEA)
  )
)

Does that help?