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!: remove telemetry feature #633

Merged
merged 2 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion doc/cordova.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Synopsis
Global Commands
create ............................. Create a project
help ............................... Get help for a command
telemetry .......................... Turn telemetry collection on or off
config ............................. Set, get, delete, edit, and list global cordova options

Project Commands
Expand Down
34 changes: 0 additions & 34 deletions doc/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ These commands are available at all times.
|----------|--------------
| `create` | Create a project
| `help <command>` | Get help for a command
| `telemetry` | Turn telemetry collection on or off
| `config` | Set, get, delete, edit, and list global cordova options

## Project Command List
Expand Down Expand Up @@ -69,7 +68,6 @@ These options apply to all cordova-cli commands.
| -d or --verbose | Pipe out more verbose output to your shell. You can also subscribe to `log` and `warn` events if you are consuming `cordova-cli` as a node module by calling `cordova.on('log', function() {})` or `cordova.on('warn', function() {})`.
| -v or --version | Print out the version of your `cordova-cli` install.
|--nohooks | Suppress executing hooks (taking RegExp hook patterns as parameters)
| --no-telemetry | Disable telemetry collection for the current command.

## Platform-specific options

Expand Down Expand Up @@ -616,38 +614,6 @@ Run a local web server for www/ assets using specified `port` or default of 8000
cordova serve [port]
```

## `cordova telemetry` command

Turns telemetry collection on or off.

**Command Syntax:**

```bash
cordova telemetry [State]
```

| State | Description
|-------------|------------------
| on | Turn telemetry collection on.
| off | Turn telemetry collection off.

### Details

A timed prompt asking the user to opt-in or out is displayed the first time cordova is run.
It lasts for 30 seconds, after which the user is automatically opted-out if they don't provide any answer.
In CI environments, the `CI` environment variable can be set, which will prevent the prompt from showing up.
Telemetry collection can also be turned off on a single command by using the `--no-telemetry` flag.

**Usage Example:**

```bash
cordova telemetry on
cordova telemetry off
cordova build --no-telemetry
```

For details, see our privacy notice: https://cordova.apache.org/privacy

## `cordova help` command

Show syntax summary, or the help for a specific command.
Expand Down
23 changes: 0 additions & 23 deletions doc/telemetry.txt

This file was deleted.

Loading
Loading