-
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 pixels for our main VPN funnels #698
Conversation
1aa89c9
to
2216252
Compare
@@ -480,6 +494,12 @@ open class PacketTunnelProvider: NEPacketTunnelProvider { | |||
|
|||
open override func startTunnel(options: [String: NSObject]?, completionHandler: @escaping (Error?) -> Void) { | |||
Task { @MainActor in | |||
os_log("🚀 Options are: %{public}@", String(reflecting: options)) | |||
os_log("🚀 Error 1: %{public}@", String((TunnelError.startingTunnelWithoutAuthToken as NSError).code)) | |||
os_log("🚀 Error 2: %{public}@", String((TunnelError.couldNotGenerateTunnelConfiguration(internalError: NSError(domain: "asd", code: 0)) as NSError).code)) |
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.
Should we use a proper domain here?
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.
I'll kill these.
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.
Removed.
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.
LGTM besides one comment - thanks!
Task/Issue URL: https://app.asana.com/0/0/1206737255908394/f macOS PR: duckduckgo/macos-browser#2304 BSK PR: duckduckgo/BrowserServicesKit#698 ## Description Add pixels to better track all main VPN funnels: - VPN Controller Start - VPN Tunnel Start - VPN Tunnel Update (change location, etc)
Task/Issue URL: https://app.asana.com/0/0/1206737255908394/f iOS PR: duckduckgo/iOS#2543 BSK PR: duckduckgo/BrowserServicesKit#698 ## Description Add pixels to better track all main VPN funnels: - VPN Controller Start (installation, onboarding) - VPN Tunnel Start - VPN Tunnel Update (change location, etc)
* main: Changes to 114.1.0-1 hotfix branch (#706) Navigation: Improve same-document navigation handling (#702) Add pixels for our main VPN funnels (#698) Remove Autoconsent subfeature (#697) #URL macro (#657) Handle expired entitlement in NetP (#692) Remove isSubscriptionEnabled check when attempting to delete NetP token (#701) Remove CGNAT range. (#691) Subscription keychain sharing for access token (#690) Integrate confirm entitlements endpoint (#700) fix bundle name in breakByRaisingSigInt (#699) Adds support for deleting all logins (#672) Bump C-S-S to 5.2.0 (#695) Update xcode-version to 15.2. (#688) Bump Tests/BrowserServicesKitTests/Resources/privacy-reference-tests (#687)
Task/Issue URL: https://app.asana.com/0/0/1206737255908394/f
macOS PR: duckduckgo/macos-browser#2304
iOS PR: duckduckgo/iOS#2543
Description
Add pixels to better track all main VPN funnels. For BSK this means:
Testing
See platform-specific PRs for testing instructions.
Internal references:
Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation