Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TAC and private policy URLs #1142

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading