Flip debug analytics flag to false (#6485)
diff --git a/packages/devtools_app/lib/devtools.dart b/packages/devtools_app/lib/devtools.dart index e9415b6..05eace0 100644 --- a/packages/devtools_app/lib/devtools.dart +++ b/packages/devtools_app/lib/devtools.dart
@@ -9,4 +9,4 @@ // the constant declaration `const String version =`. // If you change the declaration you must also modify the regex in // tools/update_version.dart. -const String version = '2.29.0-dev.0'; +const String version = '2.28.1';
diff --git a/packages/devtools_app/lib/src/shared/development_helpers.dart b/packages/devtools_app/lib/src/shared/development_helpers.dart index 7ad9d79..5be8c71 100644 --- a/packages/devtools_app/lib/src/shared/development_helpers.dart +++ b/packages/devtools_app/lib/src/shared/development_helpers.dart
@@ -11,7 +11,7 @@ /// mode, otherwise analytics will only be sent in release builds. /// /// `ga.isAnalyticsEnabled()` still must return true for analytics to be sent. -bool debugAnalytics = true; +bool debugAnalytics = false; /// Whether to build DevTools for conveniently debugging DevTools extensions. ///
diff --git a/packages/devtools_app/pubspec.yaml b/packages/devtools_app/pubspec.yaml index 59a13c4..e4eec89 100644 --- a/packages/devtools_app/pubspec.yaml +++ b/packages/devtools_app/pubspec.yaml
@@ -4,7 +4,7 @@ # Note: this version should only be updated by running tools/update_version.dart # that updates all versions of devtools packages (devtools_app, devtools_test). -version: 2.29.0-dev.0 +version: 2.28.1 repository: https://github.com/flutter/devtools/tree/master/packages/devtools_app @@ -72,7 +72,7 @@ dev_dependencies: args: ^2.4.2 build_runner: ^2.3.3 - devtools_test: 2.29.0-dev.0 + devtools_test: 2.28.1 fake_async: ^1.3.1 flutter_driver: sdk: flutter
diff --git a/packages/devtools_app/test/shared/development_helpers_test.dart b/packages/devtools_app/test/shared/development_helpers_test.dart index ea0089c..70d27c4 100644 --- a/packages/devtools_app/test/shared/development_helpers_test.dart +++ b/packages/devtools_app/test/shared/development_helpers_test.dart
@@ -7,6 +7,7 @@ void main() { test('debug flags are false', () { + expect(debugAnalytics, isFalse); expect(debugDevToolsExtensions, isFalse); }); }
diff --git a/packages/devtools_test/pubspec.yaml b/packages/devtools_test/pubspec.yaml index 40d3336..28541e5 100644 --- a/packages/devtools_test/pubspec.yaml +++ b/packages/devtools_test/pubspec.yaml
@@ -7,7 +7,7 @@ # When publishing new versions of this package be sure to publish a new version # of package:devtools as well. package:devtools contains a compiled snapshot of # this package. -version: 2.29.0-dev.0 +version: 2.28.1 repository: https://github.com/flutter/devtools/tree/master/packages/devtools_test @@ -19,7 +19,7 @@ async: ^2.0.0 collection: ^1.15.0 devtools_shared: ^4.0.1 - devtools_app: 2.29.0-dev.0 + devtools_app: 2.28.1 devtools_app_shared: path: ../devtools_app_shared flutter: