summarylogtreecommitdiffstats
path: root/opt-in-analytics.patch
blob: 17fae210fd4ce72ec80e98c793c441d4a93916ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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