From 093c36e6241e3be41bf50ddaea0dd59dbedd7c78 Mon Sep 17 00:00:00 2001 From: DimitarTachev Date: Fri, 19 Jul 2019 13:23:33 +0300 Subject: [PATCH 1/2] docs: update privacy policy message based on the latest legal updates --- lib/constants.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/constants.ts b/lib/constants.ts index fd8f561e7f..afa9bb4054 100644 --- a/lib/constants.ts +++ b/lib/constants.ts @@ -231,8 +231,7 @@ export class MacOSVersions { export const MacOSDeprecationStringFormat = "NativeScript does not support macOS %s and some functionality may not work. Please, upgrade to the latest macOS version."; export const PROGRESS_PRIVACY_POLICY_URL = "https://www.progress.com/legal/privacy-policy"; export class SubscribeForNewsletterMessages { - public static AgreeToReceiveEmailMsg = "I agree".green.bold + " to receive email communications from Progress Software or its Partners (`https://www.progress.com/partners/partner-directory`)," + - "containing information about Progress Software's products. Consent may be withdrawn at any time."; + public static AgreeToReceiveEmailMsg = "I agree".green.bold + " to receive email communications from Progress Software in the form of the NativeScript Newsletter. Consent may be withdrawn at any time."; public static ReviewPrivacyPolicyMsg = `You can review the Progress Software Privacy Policy at \`${PROGRESS_PRIVACY_POLICY_URL}\``; public static PromptMsg = "Input your e-mail address to agree".green + " or " + "leave empty to decline".red.bold + ":"; } From c63824816de8ab5e1c71bae1d9833156ec434ddb Mon Sep 17 00:00:00 2001 From: rosen-vladimirov Date: Tue, 27 Aug 2019 13:03:39 +0300 Subject: [PATCH 2/2] fix: send user mails to correct eloqua form Due to changes in the eloqua forms, when user wants to subscribe for NativeScript newsletter, we need to send the data to `NativeScript_IncludeinEmail` form instead of the previously used `dev_uins_cli` form. --- lib/services/subscription-service.ts | 2 +- test/services/subscription-service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/services/subscription-service.ts b/lib/services/subscription-service.ts index f0e7893019..6852cccef5 100644 --- a/lib/services/subscription-service.ts +++ b/lib/services/subscription-service.ts @@ -52,7 +52,7 @@ export class SubscriptionService implements ISubscriptionService { private async sendEmail(email: string): Promise { if (email) { const postData = queryString.stringify({ - 'elqFormName': "dev_uins_cli", + 'elqFormName': "NativeScript_IncludeinEmail", 'elqSiteID': '1325', 'emailAddress': email, 'elqCookieWrite': '0' diff --git a/test/services/subscription-service.ts b/test/services/subscription-service.ts index 30effd389c..612eabdba8 100644 --- a/test/services/subscription-service.ts +++ b/test/services/subscription-service.ts @@ -249,7 +249,7 @@ describe("subscriptionService", () => { const email = "abc@def.gh"; const postData = stringify({ - 'elqFormName': "dev_uins_cli", + 'elqFormName': "NativeScript_IncludeinEmail", 'elqSiteID': '1325', 'emailAddress': email, 'elqCookieWrite': '0'