diff --git a/DuckDuckGo.xcodeproj/project.pbxproj b/DuckDuckGo.xcodeproj/project.pbxproj index 64f343fdeb..1e35bfa306 100644 --- a/DuckDuckGo.xcodeproj/project.pbxproj +++ b/DuckDuckGo.xcodeproj/project.pbxproj @@ -13316,7 +13316,7 @@ repositoryURL = "https://github.com/duckduckgo/BrowserServicesKit"; requirement = { kind = exactVersion; - version = "171.1.1-1"; + version = "171.1.1-2"; }; }; 9FF521422BAA8FF300B9819B /* XCRemoteSwiftPackageReference "lottie-spm" */ = { diff --git a/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 4db6203c43..2fc685a3f3 100644 --- a/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -32,8 +32,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/duckduckgo/BrowserServicesKit", "state" : { - "revision" : "eea55b8903389f680c4f08667d8f1428e12aa053", - "version" : "171.1.1-1" + "revision" : "ec7bfbcda3d18086a03d762c41382c318c699c8f", + "version" : "171.1.1-2" } }, { diff --git a/DuckDuckGo/Application/AppDelegate.swift b/DuckDuckGo/Application/AppDelegate.swift index 2c21010cc3..aa96408696 100644 --- a/DuckDuckGo/Application/AppDelegate.swift +++ b/DuckDuckGo/Application/AppDelegate.swift @@ -144,25 +144,11 @@ final class AppDelegate: NSObject, NSApplicationDelegate { @UserDefaultsWrapper(key: .firstLaunchDate, defaultValue: Date.monthAgo) static var firstLaunchDate: Date - @UserDefaultsWrapper - private var didCrashDuringCrashHandlersSetUp: Bool - static var isNewUser: Bool { return firstLaunchDate >= Date.weekAgo } override init() { - // will not add crash handlers and will fire pixel on applicationDidFinishLaunching if didCrashDuringCrashHandlersSetUp == true - let didCrashDuringCrashHandlersSetUp = UserDefaultsWrapper(key: .didCrashDuringCrashHandlersSetUp, defaultValue: false) - _didCrashDuringCrashHandlersSetUp = didCrashDuringCrashHandlersSetUp - if case .normal = NSApplication.runType, - !didCrashDuringCrashHandlersSetUp.wrappedValue { - - didCrashDuringCrashHandlersSetUp.wrappedValue = true - CrashLogMessageExtractor.setUp() - didCrashDuringCrashHandlersSetUp.wrappedValue = false - } - do { let encryptionKey = NSApplication.runType.requiresEnvironment ? try keyStore.readKey() : nil fileStore = EncryptedFileStore(encryptionKey: encryptionKey) @@ -390,10 +376,6 @@ final class AppDelegate: NSObject, NSApplicationDelegate { remoteMessagingClient?.startRefreshingRemoteMessages() - if didCrashDuringCrashHandlersSetUp { - PixelKit.fire(GeneralPixel.crashOnCrashHandlersSetUp) - didCrashDuringCrashHandlersSetUp = false - } } private func fireFailedCompilationsPixelIfNeeded() { diff --git a/LocalPackages/DataBrokerProtection/Package.swift b/LocalPackages/DataBrokerProtection/Package.swift index a9f43476f3..2be6f47c05 100644 --- a/LocalPackages/DataBrokerProtection/Package.swift +++ b/LocalPackages/DataBrokerProtection/Package.swift @@ -29,7 +29,7 @@ let package = Package( targets: ["DataBrokerProtection"]) ], dependencies: [ - .package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "171.1.1-1"), + .package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "171.1.1-2"), .package(path: "../SwiftUIExtensions"), .package(path: "../XPCHelper"), ], diff --git a/LocalPackages/NetworkProtectionMac/Package.swift b/LocalPackages/NetworkProtectionMac/Package.swift index d790bbeb77..2f2f0812e1 100644 --- a/LocalPackages/NetworkProtectionMac/Package.swift +++ b/LocalPackages/NetworkProtectionMac/Package.swift @@ -32,7 +32,7 @@ let package = Package( .library(name: "VPNAppLauncher", targets: ["VPNAppLauncher"]), ], dependencies: [ - .package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "171.1.1-1"), + .package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "171.1.1-2"), .package(url: "https://github.com/airbnb/lottie-spm", exact: "4.4.3"), .package(path: "../AppLauncher"), .package(path: "../UDSHelper"), diff --git a/LocalPackages/SubscriptionUI/Package.swift b/LocalPackages/SubscriptionUI/Package.swift index c607f3d9d8..75a34cbf5b 100644 --- a/LocalPackages/SubscriptionUI/Package.swift +++ b/LocalPackages/SubscriptionUI/Package.swift @@ -12,7 +12,7 @@ let package = Package( targets: ["SubscriptionUI"]), ], dependencies: [ - .package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "171.1.1-1"), + .package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "171.1.1-2"), .package(path: "../SwiftUIExtensions") ], targets: [