TobiasBuchholz / Plugin.Firebase

Wrapper around the native Android and iOS Firebase Xamarin SDKs
MIT License
220 stars 49 forks source link

Set consent #307

Open Reon2323 opened 5 months ago

Reon2323 commented 5 months ago

Hi,

I have an old ios xamarin project and use Plugin.Firebase.Legacy for Google Analytics. Please help me, how i can to set consent mode v2 (analyticsStorage, adStorage, adUserData, adPersonalization) according Set up consent mode for apps ?

AdamEssenmacher commented 5 months ago

This plugin doesn't currently support setting the consent mode programmatically, so that would need to be a PR.

If it would be sufficient to just use settings in Info.plist / AndroidManifest.xml, then you should just be able to update your native SDK versions on the Android side. On the iOS side, you'd need to switch the native SDK dependencies to AdamE.Firebase.*.

CostasAthan commented 4 months ago

If we are going to use Google User Messaging Platform for the purpose of obtaining consent, is there a guide about which IAB purpose corresponds to which Firebase product (Analytics, Crashlytics, Performance etc.) and what variables hold the users' decisions?