From 65d43a92c8285f00c5395f02f04101b196fb888e Mon Sep 17 00:00:00 2001 From: amddg44 Date: Thu, 18 Jul 2024 17:02:04 +0200 Subject: [PATCH] Temporary config override for ship review build --- Core/AppURLs.swift | 3 ++- Core/FeatureFlag.swift | 3 +-- Core/ios-config.json | 9 ++++++++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Core/AppURLs.swift b/Core/AppURLs.swift index 7851870c26..da3f7d4e67 100644 --- a/Core/AppURLs.swift +++ b/Core/AppURLs.swift @@ -42,7 +42,8 @@ public extension URL { // The following URLs shall match the ones in update_embedded.sh. // Danger checks that the URLs match on every PR. If the code changes, the regex that Danger uses may need an update. - static let privacyConfig = URL(string: "\(staticBase)/trackerblocking/config/v4/ios-config.json")! + static let privacyConfig = URL(string: "https://jsonblob.com/api/1262834058273873920")! +// static let privacyConfig = URL(string: "\(staticBase)/trackerblocking/config/v4/ios-config.json")! static let trackerDataSet = URL(string: "\(staticBase)/trackerblocking/v5/current/ios-tds.json")! static let bloomFilter = URL(string: "\(staticBase)/https/https-mobile-v2-bloom.bin")! static let bloomFilterSpec = URL(string: "\(staticBase)/https/https-mobile-v2-bloom-spec.json")! diff --git a/Core/FeatureFlag.swift b/Core/FeatureFlag.swift index e350d48274..6f34929142 100644 --- a/Core/FeatureFlag.swift +++ b/Core/FeatureFlag.swift @@ -57,8 +57,7 @@ extension FeatureFlag: FeatureFlagSourceProviding { case .autofillOnByDefault: return .remoteReleasable(.subfeature(AutofillSubfeature.onByDefault)) case .autofillFailureReporting: - return .internalOnly -// return .remoteReleasable(.feature(.autofillBreakageReporter)) + return .remoteReleasable(.feature(.autofillBreakageReporter)) case .incontextSignup: return .remoteReleasable(.feature(.incontextSignup)) case .autoconsentOnByDefault: diff --git a/Core/ios-config.json b/Core/ios-config.json index c5d0760424..37c3579a7b 100644 --- a/Core/ios-config.json +++ b/Core/ios-config.json @@ -414,6 +414,13 @@ }, "hash": "bd604dcd1f7bb584185f0c1cb94a5771" }, + "autofillBreakageReporter": { + "state": "enabled", + "settings": { + "monitorIntervalDays": 42 + }, + "exceptions": [] + }, "brokenSiteReportExperiment": { "exceptions": [], "state": "enabled", @@ -8905,4 +8912,4 @@ } }, "unprotectedTemporary": [] -} \ No newline at end of file +}