flutter/packages/flutter_tools/lib/src/reporting
Jonah Williams d3515f5fb6
[flutter_tools] add analytics to code size, add more testing (#64578)
* [flutter_tools] add analytics to code size, add more testing

* add gradle case

* Update build_macos_test.dart

* move analytics to code size tooling

* Update analyze_size.dart

* fix analysis
2020-08-27 09:45:10 -07:00
..
crash_reporting.dart [flutter tools] Move _informUserOfCrash into crash_reporting.dart (#55614) 2020-04-28 10:34:03 -07:00
disabled_usage.dart License update (#45373) 2019-11-27 15:04:02 -08:00
events.dart [flutter_tools] add analytics to code size, add more testing (#64578) 2020-08-27 09:45:10 -07:00
github_template.dart Move GitHubTemplateCreator into reporting library (#55002) 2020-04-17 10:47:12 -07:00
README.md Move reporting files to reporting/ (#36017) 2019-07-16 13:21:06 -07:00
reporting.dart [flutter_tools] Restore base/platform.dart (#56410) 2020-05-06 08:15:39 -07:00
usage.dart [flutter_tools] track null safety usage (#59822) 2020-06-22 17:05:01 -07:00

Flutter reports data to two separate systems:

  1. Anonymous usage statistics are reported to Google Analytics (for statistics such as the number of times the flutter tool was run within a given time period). The code that manages this is in [usage.dart].
  2. Crash reports for the flutter tool. These are not reports of when Flutter applications crash, but rather when the command-line flutter tool itself crashes. The code that manages this is in [crash_reporting.dart].

Opting out

Users can opt out of all reporting in a single place by running flutter config --no-analytics.