Autogenerated commit at 2026-01-05 14:13:57.838168+00:00
This commit is contained in:
22
flutter/opt-in-analytics.patch
Normal file
22
flutter/opt-in-analytics.patch
Normal file
@ -0,0 +1,22 @@
|
||||
--- a/packages/flutter_tools/lib/src/reporting/usage.dart
|
||||
+++ b/packages/flutter_tools/lib/src/reporting/usage.dart
|
||||
@@ -218,7 +218,7 @@
|
||||
if (globals.platform.environment.containsKey('FLUTTER_HOST')) {
|
||||
analytics.setSessionValue('aiid', globals.platform.environment['FLUTTER_HOST']);
|
||||
}
|
||||
- analytics.analyticsOpt = AnalyticsOpt.optOut;
|
||||
+ analytics.analyticsOpt = AnalyticsOpt.optIn;
|
||||
}
|
||||
|
||||
return _DefaultUsage._(
|
||||
--- a/packages/flutter_tools/lib/src/reporting/first_run.dart
|
||||
+++ b/packages/flutter_tools/lib/src/reporting/first_run.dart
|
||||
@@ -37,6 +37,8 @@
|
||||
║ See Google's privacy policy: ║
|
||||
║ https://policies.google.com/privacy ║
|
||||
╚════════════════════════════════════════════════════════════════════════════╝
|
||||
+arch linux aur overrides: reporting is disabled by default. Opt-out is not a sent event.
|
||||
+Run 'flutter config --analytics' to opt in to reports.
|
||||
''';
|
||||
|
||||
/// The first run messenger determines whether the first run license terms
|
||||
Reference in New Issue
Block a user