Skip to content

Commit 14e7dd3

Browse files
Delete legacy analytics. (#9777)
1 parent c00ad26 commit 14e7dd3

19 files changed

Lines changed: 403 additions & 777 deletions

File tree

packages/devtools_app/lib/src/shared/analytics/_analytics_stub.dart

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ final _log = Logger('_analytics_stub');
2121
/// both web and desktop, and manipulate this value for tests running on the VM.
2222
String ideLaunched = '';
2323

24-
FutureOr<bool> isAnalyticsEnabled() => false;
25-
26-
FutureOr<bool> shouldShowAnalyticsConsentMessage() => false;
27-
28-
void initializeGA() {}
29-
30-
void jsHookupListenerForGA() {}
31-
3224
void screen(String screenName, [int value = 0]) {
3325
_log.fine('Event: screen(screenName:$screenName, value:$value)');
3426
}
@@ -104,9 +96,3 @@ Future<void> setupDimensions() async {}
10496
void setupUserApplicationDimensions() {}
10597

10698
Map<String, Object?> generateSurveyQueryParameters() => {};
107-
108-
// TODO(https://github.com/flutter/devtools/issues/7083): remove these
109-
// when the legacy analytics are fully removed.
110-
FutureOr<void> legacyOnEnableAnalytics() {}
111-
FutureOr<void> legacyOnDisableAnalytics() {}
112-
void legacyOnSetupAnalytics() {}

0 commit comments

Comments
 (0)