-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Steps to reproduce
1. Run flutter --disable-telemetry
to disable telemetry (it should say Analytics reporting disabled.
)
2. Run flutter config
to see the current status of analytics opt in (it should sayAnalytics reporting is currently disabled.
at the bottom)
3. Run flutter --enable-telemetry
to re-enable it, it should say (it should say Analytics reporting enabled.) 4. Run
flutter configagain... it still says
Analytics reporting is currently disabled.` at the bottom even though the configuration files say it is enabled
Turns out that this issue was a result of not being on the main/master branch when running flutter config
. Analytics is always suppressed when the developer is on a feature branch.
Instead, we should update the output of flutter config
to print out that analytics is disabled/suppressed for the current command invocation because they are on a feature branch.
Possible example for message when running from a feature branch
// Old
Analytics reporting is currently disabled.
// New
Analytics reporting is currently disabled when running from feature branch.