From 604fe49eb361eb60a6916dd2cc403496d8e8cf39 Mon Sep 17 00:00:00 2001 From: a-maurice Date: Wed, 21 Feb 2024 11:52:41 -0800 Subject: [PATCH] Add additional ConsentType enums to sample --- .../testapp/Assets/Firebase/Sample/Analytics/UIHandler.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/analytics/testapp/Assets/Firebase/Sample/Analytics/UIHandler.cs b/analytics/testapp/Assets/Firebase/Sample/Analytics/UIHandler.cs index 1a7aa827..c598806f 100644 --- a/analytics/testapp/Assets/Firebase/Sample/Analytics/UIHandler.cs +++ b/analytics/testapp/Assets/Firebase/Sample/Analytics/UIHandler.cs @@ -128,13 +128,17 @@ public void AnalyticsSetConsent() { FirebaseAnalytics.SetConsent(new Dictionary() { { ConsentType.AnalyticsStorage, ConsentStatus.Denied }, - { ConsentType.AdStorage, ConsentStatus.Denied } + { ConsentType.AdStorage, ConsentStatus.Denied }, + { ConsentType.AdUserData, ConsentStatus.Denied }, + { ConsentType.AdPersonalization, ConsentStatus.Denied } }); FirebaseAnalytics.SetConsent(new Dictionary()); FirebaseAnalytics.SetConsent(new Dictionary() { { ConsentType.AnalyticsStorage, ConsentStatus.Granted }, - { ConsentType.AdStorage, ConsentStatus.Granted } + { ConsentType.AdStorage, ConsentStatus.Granted }, + { ConsentType.AdUserData, ConsentStatus.Granted }, + { ConsentType.AdPersonalization, ConsentStatus.Granted } }); }