Skip to content

Commit

Permalink
Merge pull request #62 from braintree/dtbtsdk-3104-add-empty-privacy-…
Browse files Browse the repository at this point in the history
…manifest

Add Blank Privacy Manifest to PopupBridge
  • Loading branch information
agedd authored Mar 18, 2024
2 parents 9049f74 + 0afe4e7 commit cfc7b55
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ let package = Package(
targets: [
.target(
name: "PopupBridge",
exclude: ["PopupBridge-Framework-Info.plist"]
path: "Sources/PopupBridge",
exclude: ["PopupBridge-Framework-Info.plist"],
resources: [.copy("PrivacyInfo.xcprivacy")]
),
]
)
1 change: 1 addition & 0 deletions PopupBridge.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ Use cases for PopupBridge:
s.swift_version = "5.8"

s.source_files = 'Sources/PopupBridge/**/*.swift'
s.resource_bundle = { "PopupBridge_PrivacyInfo" => "Sources/PopupBridge/PrivacyInfo.xcprivacy" }
end
4 changes: 4 additions & 0 deletions PopupBridge.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
62D5EC522B9F753100D09C5D /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 62D5EC512B9F753100D09C5D /* PrivacyInfo.xcprivacy */; };
79DB9F7F53319F206CDE119E /* Pods_UnitTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28245E4F1AC5126D54985D88 /* Pods_UnitTests.framework */; };
800A09D82995F143003ED16E /* POPPopupBridge.swift in Sources */ = {isa = PBXBuildFile; fileRef = 800A09D72995F143003ED16E /* POPPopupBridge.swift */; };
800E789D29E0958A00D1B0FC /* WebViewMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 800E789C29E0958A00D1B0FC /* WebViewMessage.swift */; };
Expand All @@ -30,6 +31,7 @@
6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
62D5EC512B9F753100D09C5D /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
800A09D72995F143003ED16E /* POPPopupBridge.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = POPPopupBridge.swift; sourceTree = "<group>"; };
800E789C29E0958A00D1B0FC /* WebViewMessage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebViewMessage.swift; sourceTree = "<group>"; };
800E789E29E09A2A00D1B0FC /* URLDetailsPayload.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = URLDetailsPayload.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -160,6 +162,7 @@
BE8E37B52A17B79E00181FDA /* WebAuthenticationSession.swift */,
800E789C29E0958A00D1B0FC /* WebViewMessage.swift */,
BEF9ED222A2A6A2C005D54AB /* PopupBridgeConstants.swift */,
62D5EC512B9F753100D09C5D /* PrivacyInfo.xcprivacy */,
);
path = PopupBridge;
sourceTree = "<group>";
Expand Down Expand Up @@ -266,6 +269,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
62D5EC522B9F753100D09C5D /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
21 changes: 21 additions & 0 deletions Sources/PopupBridge/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string></string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string></string>
</array>
</dict>
</array>
</dict>
</plist>

0 comments on commit cfc7b55

Please sign in to comment.