Skip to content

Commit 39c0c9f

Browse files
committed
fix: objective-c keys
1 parent 6259d9c commit 39c0c9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/firebase_analytics/firebase_analytics/ios/Classes/FLTFirebaseAnalyticsPlugin.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,12 @@ - (void)setConsent:(id)arguments withMethodCallResult:(FLTFirebaseMethodCallResu
155155
}
156156

157157
if (adPersonalizationSignalsGranted != nil) {
158-
parameters[FIRConsentTypeAnalyticsStorage] =
158+
parameters[FIRConsentTypeAdPersonalization] =
159159
[adPersonalizationSignalsGranted boolValue] ? FIRConsentStatusGranted : FIRConsentStatusDenied;
160160
}
161161

162162
if (adUserDataGranted != nil) {
163-
parameters[FIRConsentTypeAnalyticsStorage] =
163+
parameters[FIRConsentTypeAdUserData] =
164164
[adUserDataGranted boolValue] ? FIRConsentStatusGranted : FIRConsentStatusDenied;
165165
}
166166

0 commit comments

Comments
 (0)