flutter/packages/flutter_tools/lib/src/reporting
Andrew Kolos ac6409b311
Swap crash reporting with unified analytics (#148525)
Fixes: https://github.com/flutter/flutter/issues/147260

(this is a remake of https://github.com/flutter/flutter/pull/147296; in hindsight I could have force-pushed there instead but 🤷)
2024-05-18 01:30:13 +00:00
..
crash_reporting.dart Swap crash reporting with unified analytics (#148525) 2024-05-18 01:30:13 +00:00
custom_dimensions.dart Remove the fast reassemble / single widget reload feature (#132255) 2023-08-10 21:48:06 +00:00
disabled_usage.dart Sync analysis_options.yaml & cleanups (#117327) 2022-12-20 14:15:39 -08:00
events.dart CommandResultEvent migrated (#138165) 2023-11-10 20:19:50 +00:00
first_run.dart [flutter_tools] fix instructions to disable CLI animations (#139094) 2023-11-27 22:00:50 +00:00
github_template.dart Added missing code block language in docs (#147481) 2024-05-01 14:44:27 +00:00
README.md
reporting.dart Revert "[flutter_tools] Remove sound null safety flag (#123031)" (#123280) 2023-03-22 22:53:49 +00:00
unified_analytics.dart Clean up lint ignores (#144229) 2024-02-27 23:21:03 +00:00
usage.dart Don't show legacy welcome message when analytics are disabled (#140956) 2024-01-25 16:29:42 +01: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.