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

Showing ATT Consent Dialog #23

Open alexda12 opened 4 months ago

alexda12 commented 4 months ago

Firstly, thankyou for an awesome plugin!

I am using AdMobs and have both a GDPR and a IDFA consent forms defined.

The issue I am seeing is when I try and use your API for ATT (iOS >= 14.x) and Consent for GDPR, I only see the created screens from AdMob for GDPR. I do not see the IDFA explainer screens. The screens I am talking about are the ones we can create in AdMob->Privacy & messaging.

Furthermore, regarding your UserMessagingPlatform class, cannot see a Tracking specific method to show the IDFA consent dialog, we only have the GDPR show consent : await UserMessagingPlatform.instance.showConsentForm();

Note - there may not be a bug in the plugin, I may have misunderstood your usage for ATT support.

danieeelfc commented 1 month ago

I think this is the default behaviour. UMP will show only one message. I think you will need to create a message inside your app explaining about IDFA.

Anyway, I'm having some trouble. Apple reject my last binary because I presented the GDPR prompt and after that I presented the App Tracking Transparency prompt. Apple told me to don't show ATT prompt if I show GDPR prompt, but I will not get IDFA if i don't show the ATT prompt :/