Skip to content

Commit f90e44c

Browse files
committed
chore: update consent docs
1 parent 829eba4 commit f90e44c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

packages/firebase_analytics/firebase_analytics/lib/src/firebase_analytics.dart

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,15 @@ class FirebaseAnalytics extends FirebasePluginPlatform {
125125
);
126126
}
127127

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
129137
Future<void> setConsent({
130138
bool? adStorageConsentGranted,
131139
bool? analyticsStorageConsentGranted,

0 commit comments

Comments
 (0)