From 4a1ef54ac3a49d0c5b02705da4e5af0246995326 Mon Sep 17 00:00:00 2001 From: Thilo Date: Mon, 2 Oct 2023 15:57:00 +0200 Subject: [PATCH] Update initialization_helper.dart --- lib/helpers/initialization_helper.dart | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/lib/helpers/initialization_helper.dart b/lib/helpers/initialization_helper.dart index 51d96aa..954721b 100644 --- a/lib/helpers/initialization_helper.dart +++ b/lib/helpers/initialization_helper.dart @@ -12,7 +12,8 @@ class InitializationHelper { testIdentifiers: ["E1029A70-CBAC-4A16-9CDC-B0C17B220B56"], ), ); - ConsentInformation.instance.requestConsentInfoUpdate(params, () async { + ConsentInformation.instance + .requestConsentInfoUpdate(ConsentRequestParameters(), () async { if (await ConsentInformation.instance.isConsentFormAvailable()) { await _loadConsentForm(); } else { @@ -65,14 +66,8 @@ class InitializationHelper { Future changePrivacyPreferences() async { final completer = Completer(); - var params = ConsentRequestParameters( - consentDebugSettings: ConsentDebugSettings( - debugGeography: DebugGeography.debugGeographyNotEea, - testIdentifiers: ["E1029A70-CBAC-4A16-9CDC-B0C17B220B56"], - ), - ); - - ConsentInformation.instance.requestConsentInfoUpdate(params, () async { + ConsentInformation.instance + .requestConsentInfoUpdate(ConsentRequestParameters(), () async { if (await ConsentInformation.instance.isConsentFormAvailable()) { ConsentForm.loadConsentForm((consentForm) { consentForm.show((formError) async {