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

feat(cli): opt-in anonymous usage data #4022

Merged
merged 10 commits into from
Jan 8, 2021
Merged

feat(cli): opt-in anonymous usage data #4022

merged 10 commits into from
Jan 8, 2021

Conversation

imhoffd
Copy link
Contributor

@imhoffd imhoffd commented Jan 6, 2021

This PR adds telemetry to the Capacitor CLI, which comprises several components:

  1. npx cap telemetry [on|off] command, which is for managing telemetry on a machine
  2. New "sysconfig" for managing a system-level configuration file (for storing telemetry opt-in/out status)
  3. Command-level events for gathering anonymous usage data
  4. IPC system for sending event data in the background (as to not affect the performance of commands)

TODO

  • Prompt for opting into telemetry
  • Switch off staging
  • Questionnaire during init (may be done as part of a separate PR)

ref: #4020

@imhoffd imhoffd added this to the 3.0.0-beta milestone Jan 6, 2021
@imhoffd imhoffd marked this pull request as ready for review January 6, 2021 21:23
@imhoffd imhoffd requested a review from jthoms1 January 6, 2021 21:23
@imhoffd imhoffd merged commit 3facfb7 into main Jan 8, 2021
@imhoffd imhoffd deleted the telemetry branch January 8, 2021 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants