Skip to content

Remove more legacy analytics logic#9817

Merged
kenzieschmoll merged 4 commits intoflutter:masterfrom
kenzieschmoll:legacyapi
May 4, 2026
Merged

Remove more legacy analytics logic#9817
kenzieschmoll merged 4 commits intoflutter:masterfrom
kenzieschmoll:legacyapi

Conversation

@kenzieschmoll
Copy link
Copy Markdown
Member

@kenzieschmoll kenzieschmoll commented May 4, 2026

A follow on to #9777 to remove a few additional legacy analytics APIs. Work towards #9819

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes legacy analytics functionality, including the isFirstRun property and associated API endpoints, from both devtools_app and devtools_shared. The changes involve deleting the isFirstRun key from the DevToolsStoreKeys enum, removing the reset and isFirstRun members from the DevToolsUsage class, and updating the server API handler. Feedback suggests adding a cleanup step in _removeLegacyKeys to ensure the isFirstRun key is removed from the user's persistent storage file to avoid stale data.

Comment thread packages/devtools_shared/lib/src/server/devtools_store.dart Outdated
@kenzieschmoll kenzieschmoll merged commit eb89b08 into flutter:master May 4, 2026
130 of 132 checks passed
@kenzieschmoll kenzieschmoll deleted the legacyapi branch May 4, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants