Skip to content

Commit adc4444

Browse files
committed
Fix texts
1 parent 8333d04 commit adc4444

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,14 @@ If your version of NativeScript is incompatible with the extension you will see
6565
4. To install the extension drag and drop the `nativescript-*.*.*.vsix` package in the VS Code.
6666
6767
### How to disable the analytics
68-
NativeScript Extension for Visual Studio Code collects usage data and sends it to Progress to help improve our products and services.
68+
The anonymous usage data collected by Progress from the NativeScript extension for Visual Studio Code is used strictly to improve the product and its services, and enhance the overall user experience.
6969
70-
If you don’t wish to send usage data to Progress, you can set the **nativescript.analytics.enabled** to **false**.
71-
72-
From **File > Preferences > Settings** (macOS: **Code > Preferences > Settings**), add the following option to disable analytics:
70+
If you have previously enabled the analytics option, you can disable it by following the steps outlined below:
7371
72+
1. Open the Visual Studio Code Settings
73+
- on Windows, select **File > Preferences > Settings**
74+
- on macOS, select **Code > Preferences > Settings**
75+
2. Add the following option (or update the existing one) to disable the analytics:
7476
```
7577
"nativescript.analytics.enabled": false
7678
```

src/analytics/analyticsService.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ import * as uuid from "uuid";
1010
export class AnalyticsService {
1111
private static HAS_ANALYTICS_PROMPT_SHOWN_KEY = "nativescript.hasAnalyticsPromptShown";
1212
private static CLIENT_ID_KEY = "nativescript.analyticsClientId";
13-
private static ANALYTICS_PROMPT_MESSAGE = "Help improve NativeScript Extension by allowing Progress to collect data usage. " +
14-
"Read our [privacy statement](https://www.telerik.com/about/privacy-policy) and " +
15-
"learn how to [disable analytics settings.](https://github.com/NativeScript/nativescript-vscode-extension/blob/master/README.md#how-to-disable-the-analytics). " +
16-
"Do you want to enable analytics?";
13+
private static ANALYTICS_PROMPT_MESSAGE = `Help us improve the NativeScript extension by allowing Progress to collect anonymous usage data.
14+
For more information about the gathered information and how it is used, read our [privacy statement](https://www.telerik.com/about/privacy-policy).
15+
You can [disable the analytics and data collection](https://github.com/NativeScript/nativescript-vscode-extension/blob/master/README.md#how-to-disable-the-analytics) at any given time.
16+
Do you want to enable analytics?`;
1717
private static ANALYTICS_PROMPT_ACCEPT_ACTION = "Yes";
1818
private static ANALYTICS_PROMPT_DENY_ACTION = "No";
1919

0 commit comments

Comments
 (0)