Skip to content

Commit

Permalink
Remove malformed error pixel (#3647)
Browse files Browse the repository at this point in the history
Task/Issue URL: https://app.asana.com/0/414235014887631/1208683003138954/f
Tech Design URL:
CC:

Description:

This PR removes the malformed error pixel.
  • Loading branch information
samsymons authored Nov 30, 2024
1 parent 7e36058 commit c82e1c8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
4 changes: 0 additions & 4 deletions Core/PixelEvent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,6 @@ extension Pixel {

case networkProtectionConfigurationInvalidPayload(configuration: Configuration)

case networkProtectionMalformedErrorDetected

// MARK: - VPN Tips

case networkProtectionGeoswitchingTipShown
Expand Down Expand Up @@ -1336,8 +1334,6 @@ extension Pixel.Event {

case .networkProtectionConfigurationInvalidPayload(let config): return "m_netp_vpn_configuration_\(config.rawValue)_invalid_payload"

case .networkProtectionMalformedErrorDetected: return "m_netp_vpn_malformed_error_detected"

// MARK: VPN tips

case .networkProtectionGeoswitchingTipShown: return "m_vpn_tip_geoswitching_shown"
Expand Down
6 changes: 1 addition & 5 deletions DuckDuckGo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2025,7 +2025,6 @@
983C52E32C2C050B007B5747 /* BookmarksStateRepair.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BookmarksStateRepair.swift; sourceTree = "<group>"; };
983C52E52C2C0ABA007B5747 /* BookmarkStateRepairTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BookmarkStateRepairTests.swift; sourceTree = "<group>"; };
983D71B02A286E810072E26D /* SyncDebugViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SyncDebugViewController.swift; sourceTree = "<group>"; };
983D88D52CED006000E99B46 /* UnitTests copy-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "UnitTests copy-Info.plist"; path = "/Users/bartek/Develop/iOS/UnitTests copy-Info.plist"; sourceTree = "<absolute>"; };
983E1349251EABF200149BD9 /* fi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fi; path = fi.lproj/InfoPlist.strings; sourceTree = "<group>"; };
983E134A251EABF200149BD9 /* fi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fi; path = fi.lproj/InfoPlist.strings; sourceTree = "<group>"; };
983E134C251EABF200149BD9 /* fi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fi; path = fi.lproj/InfoPlist.strings; sourceTree = "<group>"; };
Expand All @@ -2040,7 +2039,6 @@
984147C424F026C800362052 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/HomeRow.storyboard; sourceTree = "<group>"; };
984147CA24F02E9E00362052 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/DaxOnboarding.storyboard; sourceTree = "<group>"; };
98424AA92CED4F430071C7DB /* WebViewUnitTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = WebViewUnitTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
98424AAA2CED4F430071C7DB /* UnitTests copy-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "UnitTests copy-Info.plist"; path = "/Users/bartek/Develop/iOS/UnitTests copy-Info.plist"; sourceTree = "<absolute>"; };
9846AA6622BD3BBF007DE48E /* InitHelpers.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InitHelpers.swift; sourceTree = "<group>"; };
9847BFFD27A2DDB400DB07AA /* ContentBlocking.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ContentBlocking.swift; sourceTree = "<group>"; };
9847BFFF27A2DDBB00DB07AA /* AppPrivacyConfigurationDataProvider.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppPrivacyConfigurationDataProvider.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -4257,8 +4255,6 @@
83ED3B8D1FA8E63700B47556 /* README.md */,
83ED3B8C1FA8E61D00B47556 /* ManualTestsScript.md */,
85A313962028E78A00327D00 /* release_notes.txt */,
983D88D52CED006000E99B46 /* UnitTests copy-Info.plist */,
98424AAA2CED4F430071C7DB /* UnitTests copy-Info.plist */,
);
sourceTree = "<group>";
};
Expand Down Expand Up @@ -11247,7 +11243,7 @@
repositoryURL = "https://github.com/DuckDuckGo/BrowserServicesKit";
requirement = {
kind = exactVersion;
version = 215.0.1;
version = 216.0.0;
};
};
9F8FE9472BAE50E50071E372 /* XCRemoteSwiftPackageReference "lottie-spm" */ = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/DuckDuckGo/BrowserServicesKit",
"state" : {
"revision" : "837dfbfe7a1b2a5e0ec2fb24a47a53dec53444b0",
"version" : "215.0.1"
"revision" : "1f1a9f979671e886699ef9b5edd572bc6b490875",
"version" : "216.0.0"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,6 @@ 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)
}
}

Expand Down

0 comments on commit c82e1c8

Please sign in to comment.