diff --git a/Core/PixelEvent.swift b/Core/PixelEvent.swift index 47b48f1333..f300d9febc 100644 --- a/Core/PixelEvent.swift +++ b/Core/PixelEvent.swift @@ -460,6 +460,8 @@ extension Pixel { case networkProtectionConfigurationInvalidPayload(configuration: Configuration) case networkProtectionConfigurationPixelTest + case networkProtectionMalformedErrorDetected + // MARK: remote messaging pixels case remoteMessageShown @@ -1263,6 +1265,8 @@ extension Pixel.Event { case .networkProtectionConfigurationInvalidPayload(let config): return "m_netp_vpn_configuration_\(config.rawValue)_invalid_payload" case .networkProtectionConfigurationPixelTest: return "m_netp_vpn_configuration_pixel_test" + case .networkProtectionMalformedErrorDetected: return "m_netp_vpn_malformed_error_detected" + // MARK: remote messaging pixels case .remoteMessageShown: return "m_remote_message_shown" diff --git a/DuckDuckGo.xcodeproj/project.pbxproj b/DuckDuckGo.xcodeproj/project.pbxproj index 9e89867111..187e92d283 100644 --- a/DuckDuckGo.xcodeproj/project.pbxproj +++ b/DuckDuckGo.xcodeproj/project.pbxproj @@ -10970,7 +10970,7 @@ repositoryURL = "https://github.com/DuckDuckGo/BrowserServicesKit"; requirement = { kind = exactVersion; - version = 202.4.0; + version = 203.0.0; }; }; 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 0901332cc5..80a835b202 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" : "80894bf69fe789e41b13f3de6be97f1300ca56e5", - "version" : "202.4.0" + "revision" : "45261df2963fc89094e169f9f2d0d9aa098093f3", + "version" : "203.0.0" } }, { diff --git a/PacketTunnelProvider/NetworkProtection/NetworkProtectionPacketTunnelProvider.swift b/PacketTunnelProvider/NetworkProtection/NetworkProtectionPacketTunnelProvider.swift index 0d15c548ad..fe424988e0 100644 --- a/PacketTunnelProvider/NetworkProtection/NetworkProtectionPacketTunnelProvider.swift +++ b/PacketTunnelProvider/NetworkProtection/NetworkProtectionPacketTunnelProvider.swift @@ -274,6 +274,10 @@ final class NetworkProtectionPacketTunnelProvider: PacketTunnelProvider { vpnLogger.logStartingWithoutAuthToken() DailyPixel.fireDailyAndCount(pixel: .networkProtectionTunnelStartAttemptOnDemandWithoutAccessToken, pixelNameSuffixes: DailyPixel.Constant.legacyDailyPixelSuffixes) + case .malformedErrorDetected(let error): + DailyPixel.fireDailyAndCount(pixel: .networkProtectionMalformedErrorDetected, + pixelNameSuffixes: DailyPixel.Constant.legacyDailyPixelSuffixes, + error: error) } }