Skip to content

Conversation

@devoncarew
Copy link
Contributor

@sethladd @tvolkert @xster

// Send the branch name as the "channel".
_analytics.setSessionValue('cd2', FlutterVersion.getBranchName(whitelistBranchName: true));
// Record the host as the application installer ID - the context that flutter_tools is running in.
if (platform.environment.containsKey('FLUTTER_HOST')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Where does FLUTTER_HOST come from?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There's more context here: #8989, but IDEs set it when invoking flutter (specifically so the flutter tools can use it to categorize its analytics).

@sethladd
Copy link
Contributor

So cool, thanks!

@devoncarew devoncarew merged commit 963b90e into flutter:master Jun 21, 2017
gspencergoog pushed a commit to gspencergoog/flutter that referenced this pull request Jul 1, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flutter tool analytics doesn't appear to report the CLI or IDE distinction

4 participants