File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
packages/firebase_analytics/firebase_analytics/lib/src Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,15 @@ class FirebaseAnalytics extends FirebasePluginPlatform {
125
125
);
126
126
}
127
127
128
- /// Sets the applicable end user consent state. 'default' value for 'adStorageConsentGranted' & 'analyticsStorageConsentGranted' is 'true'
128
+ /// Sets the applicable end user consent state.
129
+ /// By default, no consent mode values are set.
130
+ ///
131
+ /// Default consents can be set according to the platform:
132
+ /// - [iOS][1]
133
+ /// - [Android][2]
134
+ ///
135
+ /// [1] : https://developers.google.com/tag-platform/security/guides/app-consent?platform=ios#default-consent
136
+ /// [2] : https://developers.google.com/tag-platform/security/guides/app-consent?platform=android#default-consent
129
137
Future <void > setConsent ({
130
138
bool ? adStorageConsentGranted,
131
139
bool ? analyticsStorageConsentGranted,
You can’t perform that action at this time.
0 commit comments