How to Disable Analytics Reporting for Flutter and Dart on Linux

The official documentation says:

The flutter tool uses Google Analytics to report feature usage statistics and send crash reports. This data is used to help improve Flutter tools over time.
Flutter tool analytics are not sent on the very first run.
Dart tools might also send usage metrics and crash reports to Google.

Disabling Analytics for the Flutter SDK

Run the following command.
flutter config --no-analytics
or
flutter --disable-analytics

Disabling Analytics for the Dart Language

Run the following command.
dart --disable-analytics
These commands worked for me directly after installing Flutter from AUR on Arch Linux.


Documentation

Abdullah As-Sadeed
Abdullah As-Sadeed

Prefers coding from scratch. Loves the Linux kernel.

Leave a Reply