Skip to content

Commit

Permalink
Break the Subscription module’s dependency on BSK (#2804)
Browse files Browse the repository at this point in the history
Task/Issue URL: https://app.asana.com/0/414235014887631/1207201481522088/f
Tech Design URL:
CC:

Description:

Client PR for duckduckgo/BrowserServicesKit#802.
  • Loading branch information
samsymons authored May 1, 2024
1 parent 90bcdb2 commit 3437b8d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
12 changes: 10 additions & 2 deletions DuckDuckGo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@
4B274F602AFEAECC003F0745 /* NetworkProtectionWidgetRefreshModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B274F5F2AFEAECC003F0745 /* NetworkProtectionWidgetRefreshModel.swift */; };
4B37E0502B928CA6009E81CA /* vpn-light-mode.json in Resources */ = {isa = PBXBuildFile; fileRef = 4B37E04F2B928CA6009E81CA /* vpn-light-mode.json */; };
4B412ACC2BBB3D0900A39F5E /* LazyView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B412ACB2BBB3D0900A39F5E /* LazyView.swift */; };
4B45D85C2BE0B115006061B5 /* Subscription in Frameworks */ = {isa = PBXBuildFile; productRef = 4B45D85B2BE0B115006061B5 /* Subscription */; };
4B470EE4299C6DFB0086EBDC /* Core.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F143C2E41E4A4CD400CFDE3A /* Core.framework */; };
4B52648B25F9613B00CB4C24 /* trackerData.json in Resources */ = {isa = PBXBuildFile; fileRef = 4B52648A25F9613B00CB4C24 /* trackerData.json */; };
4B53648A26718D0E001AA041 /* EmailWaitlist.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B53648926718D0E001AA041 /* EmailWaitlist.swift */; };
Expand Down Expand Up @@ -2599,6 +2600,7 @@
buildActionMask = 2147483647;
files = (
02025664298818B200E694E7 /* NetworkExtension.framework in Frameworks */,
4B45D85C2BE0B115006061B5 /* Subscription in Frameworks */,
4B470EE4299C6DFB0086EBDC /* Core.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -5395,6 +5397,7 @@
);
name = PacketTunnelProvider;
packageProductDependencies = (
4B45D85B2BE0B115006061B5 /* Subscription */,
);
productName = PacketTunnelProvider;
productReference = 02025662298818B100E694E7 /* PacketTunnelProvider.appex */;
Expand Down Expand Up @@ -9710,8 +9713,8 @@
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/DuckDuckGo/BrowserServicesKit";
requirement = {
branch = 142.0.0;
kind = branch;
kind = exactVersion;
version = 143.0.0;
};
};
9F8FE9472BAE50E50071E372 /* XCRemoteSwiftPackageReference "lottie-spm" */ = {
Expand Down Expand Up @@ -9832,6 +9835,11 @@
package = 98A16C2928A11BDE00A6C003 /* XCRemoteSwiftPackageReference "BrowserServicesKit" */;
productName = SyncDataProviders;
};
4B45D85B2BE0B115006061B5 /* Subscription */ = {
isa = XCSwiftPackageProductDependency;
package = 98A16C2928A11BDE00A6C003 /* XCRemoteSwiftPackageReference "BrowserServicesKit" */;
productName = Subscription;
};
4B948E2529DCCDB9002531FA /* Persistence */ = {
isa = XCSwiftPackageProductDependency;
package = 98A16C2928A11BDE00A6C003 /* XCRemoteSwiftPackageReference "BrowserServicesKit" */;
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" : {
"branch" : "142.0.0",
"revision" : "2681b5271a4e0582f175771737617adb8a4d6e78"
"revision" : "7c41d69a93bbe80639fb7489e2018e5957ac2b5c",
"version" : "143.0.0"
}
},
{
Expand Down
1 change: 1 addition & 0 deletions DuckDuckGo/NetworkProtectionStatusViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import Foundation
import Combine
import NetworkProtection
import WidgetKit
import BrowserServicesKit

struct NetworkProtectionLocationStatusModel {
enum LocationIcon {
Expand Down

0 comments on commit 3437b8d

Please sign in to comment.