diff --git a/DuckDuckGo.xcodeproj/project.pbxproj b/DuckDuckGo.xcodeproj/project.pbxproj index 11934ff00d..57a191ebb1 100644 --- a/DuckDuckGo.xcodeproj/project.pbxproj +++ b/DuckDuckGo.xcodeproj/project.pbxproj @@ -10926,8 +10926,8 @@ isa = XCRemoteSwiftPackageReference; repositoryURL = "https://github.com/DuckDuckGo/BrowserServicesKit"; requirement = { - kind = exactVersion; - version = 196.2.0; + kind = revision; + revision = b4903edbd389927d67a3b843b76fec5bdf82febf; }; }; 9F8FE9472BAE50E50071E372 /* XCRemoteSwiftPackageReference "lottie-spm" */ = { diff --git a/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index cf5b1aae12..d11d5ff68d 100644 --- a/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -32,8 +32,7 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/DuckDuckGo/BrowserServicesKit", "state" : { - "revision" : "32a2ec64385543ccfbaaafbfe9545543a2c06aac", - "version" : "196.2.0" + "revision" : "b4903edbd389927d67a3b843b76fec5bdf82febf" } }, { diff --git a/DuckDuckGo/Configuration/ConfigurationManager.swift b/DuckDuckGo/Configuration/ConfigurationManager.swift index c9e494f992..925949bc9c 100644 --- a/DuckDuckGo/Configuration/ConfigurationManager.swift +++ b/DuckDuckGo/Configuration/ConfigurationManager.swift @@ -75,13 +75,12 @@ final class ConfigurationManager: DefaultConfigurationManager { store: ConfigurationStoring = AppDependencyProvider.shared.configurationStore, defaults: KeyValueStoring = UserDefaults(suiteName: "\(Global.groupIdPrefix).app-configuration") ?? UserDefaults()) { super.init(fetcher: fetcher, store: store, defaults: defaults) - addPresenter() subscribeToLifecycleNotifications() } deinit { - removePresenter() removeLifecycleNotifications() + removePresenter() } @discardableResult @@ -135,7 +134,7 @@ final class ConfigurationManager: DefaultConfigurationManager { return didFetchAnyTrackerBlockingDependencies } - + private func updateTrackerBlockingDependencies() { ContentBlocking.shared.privacyConfigurationManager.reload(etag: store.loadEtag(for: .privacyConfiguration), data: store.loadData(for: .privacyConfiguration)) @@ -215,14 +214,4 @@ extension ConfigurationManager { NotificationCenter.default.removeObserver(self, name: UIApplication.willEnterForegroundNotification, object: nil) NotificationCenter.default.removeObserver(self, name: UIApplication.didEnterBackgroundNotification, object: nil) } - - @objc - func addPresenter() { - NSFileCoordinator.addFilePresenter(self) - } - - @objc - func removePresenter() { - NSFileCoordinator.removeFilePresenter(self) - } }