flutter/packages/flutter_tools/lib/src/reporting
Victoria Ashworth 81052a7d36
Add usage event to track when a iOS network device is used (#118915)
* Add usage event to track when a iOS network device is used

* update usage event to track percentage of iOS network vs usb devices, update and fix tests

* refactor tracking to happen in usageValues with a custom dimension
2023-01-25 10:57:12 -06:00
..
crash_reporting.dart Remove tool crash git.io link shortener (#99574) 2022-03-08 17:00:06 -08:00
custom_dimensions.dart Add usage event to track when a iOS network device is used (#118915) 2023-01-25 10:57:12 -06:00
disabled_usage.dart Sync analysis_options.yaml & cleanups (#117327) 2022-12-20 14:15:39 -08:00
events.dart Remove unnecessary null checks in flutter_tool (#118857) 2023-01-23 21:43:08 +00:00
first_run.dart Enable avoid_setters_without_getters (#91067) 2021-10-01 00:58:05 -07:00
github_template.dart Remove unnecessary null checks in flutter_tool (#118857) 2023-01-23 21:43:08 +00:00
README.md
reporting.dart Remove globals_null_migrated.dart, move into globals.dart (#92861) 2021-11-01 17:18:03 -07:00
usage.dart Sync analysis_options.yaml & cleanups (#117327) 2022-12-20 14:15:39 -08: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.