From 995846da45a341337e196652de1fb669a83477b3 Mon Sep 17 00:00:00 2001 From: Nicolas Buquet Date: Mon, 16 Dec 2024 18:25:55 +0100 Subject: [PATCH] Update TAC and private policy URLs --- Btchap/Config/BuildSettings.swift | 4 ++-- DevTchap/Config/BuildSettings.swift | 4 ++-- Tchap/Config/BuildSettings.swift | 6 +++--- changelog.d/1141.change | 1 + 4 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 changelog.d/1141.change diff --git a/Btchap/Config/BuildSettings.swift b/Btchap/Config/BuildSettings.swift index 36b88209f..035debe4d 100644 --- a/Btchap/Config/BuildSettings.swift +++ b/Btchap/Config/BuildSettings.swift @@ -118,7 +118,7 @@ final class BuildSettings: NSObject { // MARK: - Legal URLs // Note: Set empty strings to hide the related entry in application settings - static let applicationTermsConditionsUrlString = "https://www.tchap.gouv.fr/tac.html" + static let applicationTermsConditionsUrlString = "https://tchap.numerique.gouv.fr/cgu" // Tchap: redirect to CGU static let clientConfigURL = "https://www.tchap.gouv.fr/client/config/preprod/ios" static let applicationHelpUrlString = "https://www.beta.tchap.gouv.fr/faq" static let applicationServicesStatusUrlString = "https://status.tchap.numerique.gouv.fr/" @@ -177,7 +177,7 @@ final class BuildSettings: NSObject { static let analyticsConfiguration = AnalyticsConfiguration(isEnabled: true, // Tchap: enable PostHog analytics on DEBUG host: "https://us.i.posthog.com", // Tchap: dev posthog, apiKey: "phc_eQOeaQiaIxdX9kaQmqYTD7RJLyFubYmGYKUI9czqqQD", // Tchap: dev posthog, - termsURL: URL(string: "https://tchap.beta.gouv.fr/politique-de-confidentialite")!) // Tchap: dev posthog, + termsURL: URL(string: "https://tchap.numerique.gouv.fr/politique-de-confidentialite")!) // Tchap: dev posthog, #else /// The configuration to use for analytics. Set `isEnabled` to false to disable analytics. static let analyticsConfiguration = AnalyticsConfiguration(isEnabled: false, diff --git a/DevTchap/Config/BuildSettings.swift b/DevTchap/Config/BuildSettings.swift index 3b0e39924..1b1cc906c 100644 --- a/DevTchap/Config/BuildSettings.swift +++ b/DevTchap/Config/BuildSettings.swift @@ -118,7 +118,7 @@ final class BuildSettings: NSObject { // MARK: - Legal URLs // Note: Set empty strings to hide the related entry in application settings - static let applicationTermsConditionsUrlString = "https://www.tchap.incubateur.net/tac.html" + static let applicationTermsConditionsUrlString = "https://tchap.numerique.gouv.fr/cgu" // Tchap: redirect to CGU static let clientConfigURL = "https://www.tchap.incubateur.net/client/config/agent/ios" static let applicationHelpUrlString = "https://www.tchap.incubateur.net/faq" static let applicationServicesStatusUrlString = "https://status.tchap.numerique.gouv.fr/" @@ -177,7 +177,7 @@ final class BuildSettings: NSObject { static let analyticsConfiguration = AnalyticsConfiguration(isEnabled: true, // Tchap: enable PostHog analytics on DEBUG host: "https://us.i.posthog.com", // Tchap: dev posthog, apiKey: "phc_eQOeaQiaIxdX9kaQmqYTD7RJLyFubYmGYKUI9czqqQD", // Tchap: dev posthog, - termsURL: URL(string: "https://tchap.beta.gouv.fr/politique-de-confidentialite")!) // Tchap: dev posthog, + termsURL: URL(string: "https://tchap.numerique.gouv.fr/politique-de-confidentialite")!) // Tchap: dev posthog, #else /// The configuration to use for analytics. Set `isEnabled` to false to disable analytics. static let analyticsConfiguration = AnalyticsConfiguration(isEnabled: false, diff --git a/Tchap/Config/BuildSettings.swift b/Tchap/Config/BuildSettings.swift index 90ff8ec65..1df769577 100644 --- a/Tchap/Config/BuildSettings.swift +++ b/Tchap/Config/BuildSettings.swift @@ -132,7 +132,7 @@ final class BuildSettings: NSObject { // MARK: - Legal URLs // Note: Set empty strings to hide the related entry in application settings - static let applicationTermsConditionsUrlString = "https://www.tchap.gouv.fr/tac.html" + static let applicationTermsConditionsUrlString = "https://tchap.numerique.gouv.fr/cgu" // Tchap: redirect to CGU static let clientConfigURL = "https://www.tchap.gouv.fr/client/config/agent/ios" static let applicationHelpUrlString = "https://www.tchap.gouv.fr/faq" static let applicationServicesStatusUrlString = "https://status.tchap.numerique.gouv.fr/" @@ -206,13 +206,13 @@ final class BuildSettings: NSObject { static let analyticsConfiguration = AnalyticsConfiguration(isEnabled: true, // Tchap: enable PostHog analytics on DEBUG host: "https://us.i.posthog.com", // Tchap: dev posthog, apiKey: "phc_eQOeaQiaIxdX9kaQmqYTD7RJLyFubYmGYKUI9czqqQD", // Tchap: dev posthog, - termsURL: URL(string: "https://tchap.beta.gouv.fr/politique-de-confidentialite")!) // Tchap: dev posthog, + termsURL: URL(string: "https://tchap.numerique.gouv.fr/politique-de-confidentialite")!) // Tchap: dev posthog, #else /// The configuration to use for analytics. Set `isEnabled` to false to disable analytics. static let analyticsConfiguration = AnalyticsConfiguration(isEnabled: true, // Tchap: enable PostHog analytics on production host: "https://posthogdev.tchap.incubateur.net", // Tchap: prod posthog, apiKey: "phc_FFa4pkvmuWjF9nZOMmYJWUXMibuYnCnPyf3DqPGZs4L", // Tchap: prod posthog, - termsURL: URL(string: "https://tchap.beta.gouv.fr/politique-de-confidentialite")!) + termsURL: URL(string: "https://tchap.numerique.gouv.fr/politique-de-confidentialite")!) #endif // MARK: - Bug report diff --git a/changelog.d/1141.change b/changelog.d/1141.change new file mode 100644 index 000000000..34c5e6c99 --- /dev/null +++ b/changelog.d/1141.change @@ -0,0 +1 @@ +Update TAC and private policy URLs \ No newline at end of file