Skip to content

Commit 71a5c89

Browse files
authored
feat!: remove telemetry feature (#633)
* feat: remove insight dep * feat: remove telemetry feature Closes GH-625. Closes GH-632.
1 parent bf1f561 commit 71a5c89

9 files changed

+21
-1659
lines changed

doc/cordova.txt

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Synopsis
55
Global Commands
66
create ............................. Create a project
77
help ............................... Get help for a command
8-
telemetry .......................... Turn telemetry collection on or off
98
config ............................. Set, get, delete, edit, and list global cordova options
109

1110
Project Commands

doc/readme.md

-34
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ These commands are available at all times.
4040
|----------|--------------
4141
| `create` | Create a project
4242
| `help <command>` | Get help for a command
43-
| `telemetry` | Turn telemetry collection on or off
4443
| `config` | Set, get, delete, edit, and list global cordova options
4544

4645
## Project Command List
@@ -69,7 +68,6 @@ These options apply to all cordova-cli commands.
6968
| -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() {})`.
7069
| -v or --version | Print out the version of your `cordova-cli` install.
7170
|--nohooks | Suppress executing hooks (taking RegExp hook patterns as parameters)
72-
| --no-telemetry | Disable telemetry collection for the current command.
7371

7472
## Platform-specific options
7573

@@ -616,38 +614,6 @@ Run a local web server for www/ assets using specified `port` or default of 8000
616614
cordova serve [port]
617615
```
618616
619-
## `cordova telemetry` command
620-
621-
Turns telemetry collection on or off.
622-
623-
**Command Syntax:**
624-
625-
```bash
626-
cordova telemetry [State]
627-
```
628-
629-
| State | Description
630-
|-------------|------------------
631-
| on | Turn telemetry collection on.
632-
| off | Turn telemetry collection off.
633-
634-
### Details
635-
636-
A timed prompt asking the user to opt-in or out is displayed the first time cordova is run.
637-
It lasts for 30 seconds, after which the user is automatically opted-out if they don't provide any answer.
638-
In CI environments, the `CI` environment variable can be set, which will prevent the prompt from showing up.
639-
Telemetry collection can also be turned off on a single command by using the `--no-telemetry` flag.
640-
641-
**Usage Example:**
642-
643-
```bash
644-
cordova telemetry on
645-
cordova telemetry off
646-
cordova build --no-telemetry
647-
```
648-
649-
For details, see our privacy notice: https://cordova.apache.org/privacy
650-
651617
## `cordova help` command
652618
653619
Show syntax summary, or the help for a specific command.

doc/telemetry.txt

-23
This file was deleted.

0 commit comments

Comments
 (0)