-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add controller VPN uninstall pixels #822
Conversation
@@ -18,15 +18,16 @@ | |||
|
|||
import Foundation | |||
|
|||
public enum DebugCommand: Codable { | |||
public enum VPNCommand: Codable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename for clarity since this is more than debug commands now.
import Foundation | ||
import NetworkExtension | ||
|
||
public final class VPNConfigurationManager { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Placing this reponsibility on the uninstaller instead.
@@ -1030,6 +1030,9 @@ open class PacketTunnelProvider: NEPacketTunnelProvider { | |||
case .removeVPNConfiguration: | |||
// Since the VPN configuration is being removed we may as well reset all state | |||
handleResetAllState(completionHandler: completionHandler) | |||
case .uninstallVPN: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New command to avoid having to make two IPC calls from the client app to uninstall.
Task/Issue URL: https://app.asana.com/0/1206580121312550/1207324076451291/f iOS PR: duckduckgo/iOS#2857 BSK PR: duckduckgo/BrowserServicesKit#822 ## Description Adds VPN uninstall pixels to the controller.
Task/Issue URL: https://app.asana.com/0/1206580121312550/1207324076451291/f macOS PR: duckduckgo/macos-browser#2781 BSK PR: duckduckgo/BrowserServicesKit#822 ## Description Integrating the latest macOS changes in BSK. Nothing should change for iOS except for a crash being fixed.
Task/Issue URL: https://app.asana.com/0/1206580121312550/1207324076451291/f
iOS PR: duckduckgo/iOS#2857
macOS PR: duckduckgo/macos-browser#2781
What kind of version bump will this require?: Minor
Description
Integrating the latest macOS changes in BSK. Nothing should change for iOS except for a crash being fixed.
Testing
Ensure the CI is green and make sure the VPN starts and stops normally.
Internal references:
Software Engineering Expectations
Technical Design Template