Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give the app a chance to disable analytics #2108

Merged
merged 5 commits into from
Nov 14, 2018
Merged

Give the app a chance to disable analytics #2108

merged 5 commits into from
Nov 14, 2018

Conversation

nirinchev
Copy link
Member

@nirinchev nirinchev commented Nov 13, 2018

What, How & Why?

  1. Introduce 100 ms delay before submitting analytics - this is helpful to handle a case where setting the environment variable in code happens after realm is imported.
  2. Add a context argument to distinguish between node.js and electron.
  3. Removes new Buffer calls which are deprecated in node 10.

Fixes #2107.

☑️ ToDos

  • 📝 Changelog entry

@realm-probot
Copy link

realm-probot bot commented Nov 13, 2018

Hey - looks like you forgot to add a T:* label - could you please add one?

return null;
}
}
const { machineIdSync } = require("node-machine-id");
Copy link
Contributor

Choose a reason for hiding this comment

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

What a nice simplification 😄

@nirinchev nirinchev merged commit f0fc556 into master Nov 14, 2018
@nirinchev nirinchev deleted the ni/analytics branch November 14, 2018 12:34
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants