Skip to content

Commit

Permalink
Update TAC and private policy URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Buquet committed Dec 16, 2024
1 parent 5ac8ef3 commit 995846d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Btchap/Config/BuildSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions DevTchap/Config/BuildSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions Tchap/Config/BuildSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions changelog.d/1141.change
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update TAC and private policy URLs

0 comments on commit 995846d

Please sign in to comment.