Skip to content
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

iOS: VPN Metadata Improvements #2791

Merged
merged 4 commits into from
Apr 26, 2024
Merged

Conversation

diegoreymendez
Copy link
Contributor

@diegoreymendez diegoreymendez commented Apr 25, 2024

Task/Issue URL: https://app.asana.com/0/414235014887631/1207169059489741/f

macOS: duckduckgo/macos-browser#2704
BSK: duckduckgo/BrowserServicesKit#799

Description

Updates VPN feedback metadata to include ipsec tunnel count.

Testing

You'd need to test the creation of an ipsec tunnel in iOS, although IMO it would be enough to test that the metadata looks good for your current situation, and reports a tunnel count of 1.


Internal references:

Software Engineering Expectations
Technical Design Template

@diegoreymendez diegoreymendez self-assigned this Apr 25, 2024
@github-actions github-actions bot added the bot: not in app board Added by automation for pull requests with tasks not added to iOS App Board Asana project label Apr 25, 2024
@@ -220,6 +220,9 @@ final class NetworkProtectionPacketTunnelProvider: PacketTunnelProvider {
}

@objc init() {
let defaults = UserDefaults.networkProtectionGroupDefaults
NetworkProtectionLastVersionRunStore(userDefaults: defaults).lastExtensionVersionRun = AppVersion.shared.versionAndBuildNumber
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're now storing the last extension version run, to report it in the metadata.

@diegoreymendez diegoreymendez changed the title macOS | iOS: VPN Metadata Improvements iOS: VPN Metadata Improvements Apr 25, 2024
@diegoreymendez diegoreymendez marked this pull request as ready for review April 25, 2024 15:23
@diegoreymendez diegoreymendez removed the bot: not in app board Added by automation for pull requests with tasks not added to iOS App Board Asana project label Apr 25, 2024
@diegoreymendez diegoreymendez requested a review from graeme April 25, 2024 16:06
diegoreymendez added a commit to duckduckgo/BrowserServicesKit that referenced this pull request Apr 26, 2024
Task/Issue URL: https://app.asana.com/0/0/1206897550778458/f

iOS PR: duckduckgo/iOS#2791
macOS PR: duckduckgo/macos-browser#2704
What kind of version bump will this require?: Minor

## Description

Adds some improved tracking of tunnel interfaces to include `ipsec` tunnels.
@diegoreymendez diegoreymendez merged commit 670ea5c into main Apr 26, 2024
13 checks passed
@diegoreymendez diegoreymendez deleted the diego/vpn-metadata-changes branch April 26, 2024 16:21
diegoreymendez added a commit to duckduckgo/macos-browser that referenced this pull request Apr 26, 2024
Task/Issue URL: https://app.asana.com/0/0/1207169059489741/f

iOS: duckduckgo/iOS#2791
BSK: duckduckgo/BrowserServicesKit#799

## Description

- Add last IPC, controller, tunnel errors to VPN metadata
- Updates VPN feedback metadata to include `ipsec` tunnel count.
- Add `lastExtensionVersionRun` to VPN metadata in the App Store build
samsymons added a commit that referenced this pull request Apr 26, 2024
…utdown

# By Christopher Brind (4) and others
# Via Chris Brind (1) and others
* main: (21 commits)
  Update BSK to 141.1.1 (#2796)
  iOS: VPN Metadata Improvements (#2791)
  Add Internal Page suggestions support (#2784)
  iOS: Add pixels to track VPN wake and stop attempts (#2785)
  Fix bug that shows selected tab in strange position in the switcher (#2789)
  Remove AppTP (#2682)
  Release 7.117.0-1 (#2794)
  cherry pick progress bar fix (#2793)
  fix progress bar missing after cold launch (#2792)
  Check entitlements before showing VPN screen from notification (#2748)
  Add parameter allowed encoding to error descriptions (#2781)
  Update Lottie to 4.4.3 (#2765)
  Update to fastlane 2.220.0 to fix ad-hoc lane (#2782)
  iOS: Bundle-Specfic Autofill Secure Vault Keychain Items  (#2759)
  Fix dSYM archive upload to S3 (#2778)
  Fix dSYM archive upload to S3 (#2778)
  Release 7.117.0-0 (#2776)
  Select Subscription Environment in Debug Settings (#2766)
  lastDisconnectError now matches against NEVPNConnectionError (#2753)
  Release 7.116.0-3 (#2774)
  ...

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
samsymons added a commit that referenced this pull request Apr 30, 2024
* main: (38 commits)
  Disable the feedback send button when there’s no text (#2800)
  Release 7.118.0-0 (#2802)
  Autofill Settings - Import passwords via sync (#2756)
  Fix selected VPN location consistency (#2797)
  Reapply "Report Apple Ad attribution using pixel" (#2702)
  reapply auto clear fix, clear cookies, load page on link click (#2798)
  Toggle Connect on Demand when receiving user initiated VPN lifecycle events (#2771)
  Update BSK to 141.1.1 (#2796)
  iOS: VPN Metadata Improvements (#2791)
  Add Internal Page suggestions support (#2784)
  iOS: Add pixels to track VPN wake and stop attempts (#2785)
  Fix bug that shows selected tab in strange position in the switcher (#2789)
  Remove AppTP (#2682)
  Release 7.117.0-1 (#2794)
  cherry pick progress bar fix (#2793)
  fix progress bar missing after cold launch (#2792)
  Check entitlements before showing VPN screen from notification (#2748)
  Add parameter allowed encoding to error descriptions (#2781)
  Update Lottie to 4.4.3 (#2765)
  Update to fastlane 2.220.0 to fix ad-hoc lane (#2782)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants