Skip to content

Commit 985d729

Browse files
Merge pull request #1142 from tchapgouv/1141-update-tac-and-private-policy-urls
Update TAC and private policy URLs
2 parents 5ac8ef3 + 995846d commit 985d729

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

Btchap/Config/BuildSettings.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ final class BuildSettings: NSObject {
118118
// MARK: - Legal URLs
119119

120120
// Note: Set empty strings to hide the related entry in application settings
121-
static let applicationTermsConditionsUrlString = "https://www.tchap.gouv.fr/tac.html"
121+
static let applicationTermsConditionsUrlString = "https://tchap.numerique.gouv.fr/cgu" // Tchap: redirect to CGU
122122
static let clientConfigURL = "https://www.tchap.gouv.fr/client/config/preprod/ios"
123123
static let applicationHelpUrlString = "https://www.beta.tchap.gouv.fr/faq"
124124
static let applicationServicesStatusUrlString = "https://status.tchap.numerique.gouv.fr/"
@@ -177,7 +177,7 @@ final class BuildSettings: NSObject {
177177
static let analyticsConfiguration = AnalyticsConfiguration(isEnabled: true, // Tchap: enable PostHog analytics on DEBUG
178178
host: "https://us.i.posthog.com", // Tchap: dev posthog,
179179
apiKey: "phc_eQOeaQiaIxdX9kaQmqYTD7RJLyFubYmGYKUI9czqqQD", // Tchap: dev posthog,
180-
termsURL: URL(string: "https://tchap.beta.gouv.fr/politique-de-confidentialite")!) // Tchap: dev posthog,
180+
termsURL: URL(string: "https://tchap.numerique.gouv.fr/politique-de-confidentialite")!) // Tchap: dev posthog,
181181
#else
182182
/// The configuration to use for analytics. Set `isEnabled` to false to disable analytics.
183183
static let analyticsConfiguration = AnalyticsConfiguration(isEnabled: false,

DevTchap/Config/BuildSettings.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ final class BuildSettings: NSObject {
118118
// MARK: - Legal URLs
119119

120120
// Note: Set empty strings to hide the related entry in application settings
121-
static let applicationTermsConditionsUrlString = "https://www.tchap.incubateur.net/tac.html"
121+
static let applicationTermsConditionsUrlString = "https://tchap.numerique.gouv.fr/cgu" // Tchap: redirect to CGU
122122
static let clientConfigURL = "https://www.tchap.incubateur.net/client/config/agent/ios"
123123
static let applicationHelpUrlString = "https://www.tchap.incubateur.net/faq"
124124
static let applicationServicesStatusUrlString = "https://status.tchap.numerique.gouv.fr/"
@@ -177,7 +177,7 @@ final class BuildSettings: NSObject {
177177
static let analyticsConfiguration = AnalyticsConfiguration(isEnabled: true, // Tchap: enable PostHog analytics on DEBUG
178178
host: "https://us.i.posthog.com", // Tchap: dev posthog,
179179
apiKey: "phc_eQOeaQiaIxdX9kaQmqYTD7RJLyFubYmGYKUI9czqqQD", // Tchap: dev posthog,
180-
termsURL: URL(string: "https://tchap.beta.gouv.fr/politique-de-confidentialite")!) // Tchap: dev posthog,
180+
termsURL: URL(string: "https://tchap.numerique.gouv.fr/politique-de-confidentialite")!) // Tchap: dev posthog,
181181
#else
182182
/// The configuration to use for analytics. Set `isEnabled` to false to disable analytics.
183183
static let analyticsConfiguration = AnalyticsConfiguration(isEnabled: false,

Tchap/Config/BuildSettings.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ final class BuildSettings: NSObject {
132132
// MARK: - Legal URLs
133133

134134
// Note: Set empty strings to hide the related entry in application settings
135-
static let applicationTermsConditionsUrlString = "https://www.tchap.gouv.fr/tac.html"
135+
static let applicationTermsConditionsUrlString = "https://tchap.numerique.gouv.fr/cgu" // Tchap: redirect to CGU
136136
static let clientConfigURL = "https://www.tchap.gouv.fr/client/config/agent/ios"
137137
static let applicationHelpUrlString = "https://www.tchap.gouv.fr/faq"
138138
static let applicationServicesStatusUrlString = "https://status.tchap.numerique.gouv.fr/"
@@ -206,13 +206,13 @@ final class BuildSettings: NSObject {
206206
static let analyticsConfiguration = AnalyticsConfiguration(isEnabled: true, // Tchap: enable PostHog analytics on DEBUG
207207
host: "https://us.i.posthog.com", // Tchap: dev posthog,
208208
apiKey: "phc_eQOeaQiaIxdX9kaQmqYTD7RJLyFubYmGYKUI9czqqQD", // Tchap: dev posthog,
209-
termsURL: URL(string: "https://tchap.beta.gouv.fr/politique-de-confidentialite")!) // Tchap: dev posthog,
209+
termsURL: URL(string: "https://tchap.numerique.gouv.fr/politique-de-confidentialite")!) // Tchap: dev posthog,
210210
#else
211211
/// The configuration to use for analytics. Set `isEnabled` to false to disable analytics.
212212
static let analyticsConfiguration = AnalyticsConfiguration(isEnabled: true, // Tchap: enable PostHog analytics on production
213213
host: "https://posthogdev.tchap.incubateur.net", // Tchap: prod posthog,
214214
apiKey: "phc_FFa4pkvmuWjF9nZOMmYJWUXMibuYnCnPyf3DqPGZs4L", // Tchap: prod posthog,
215-
termsURL: URL(string: "https://tchap.beta.gouv.fr/politique-de-confidentialite")!)
215+
termsURL: URL(string: "https://tchap.numerique.gouv.fr/politique-de-confidentialite")!)
216216
#endif
217217

218218
// MARK: - Bug report

changelog.d/1141.change

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update TAC and private policy URLs

0 commit comments

Comments
 (0)