Skip to content

Commit

Permalink
Update VPN user agent (#3302)
Browse files Browse the repository at this point in the history
Task/Issue URL: https://app.asana.com/0/1207162258152427/1207484485195971/f
Tech Design URL:
CC:

Description:

This PR updates the user agent of the VPN to include the version number, not just build number.
  • Loading branch information
samsymons authored Sep 9, 2024
1 parent b014c9c commit b8bf205
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DuckDuckGo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10713,7 +10713,7 @@
repositoryURL = "https://github.com/DuckDuckGo/BrowserServicesKit";
requirement = {
kind = exactVersion;
version = 191.2.2;
version = 191.2.3;
};
};
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" : "660971f355c2288ebd3041e92d9674abd9e3a3e0",
"version" : "191.2.2"
"revision" : "b83ccf14b5844e8876de04bcc3074a15569f3b26",
"version" : "191.2.3"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ final class NetworkProtectionPacketTunnelProvider: PacketTunnelProvider {
}

@objc init() {
APIRequest.Headers.setUserAgent(DefaultUserAgentManager.duckDuckGoUserAgent)

let settings = VPNSettings(defaults: .networkProtectionGroupDefaults)

Expand Down

0 comments on commit b8bf205

Please sign in to comment.