Skip to content

Commit

Permalink
feat: Improve Privacy Manifest support (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
einsteinx2 authored May 2, 2024
1 parent 975ab41 commit c3a482b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 2 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ let package = Package(
.product(name: "BranchSDK", package: "BranchSDK"),
],
path: "mParticle-BranchMetrics",
resources: [.process("PrivacyInfo.xcprivacy")],
publicHeadersPath: "."
),
.target(
Expand All @@ -39,6 +40,7 @@ let package = Package(
.product(name: "BranchSDK", package: "BranchSDK"),
],
path: "SPM/mParticle-BranchMetrics-NoLocation",
resources: [.process("PrivacyInfo.xcprivacy")],
publicHeadersPath: "."
)
]
Expand Down
1 change: 1 addition & 0 deletions mParticle-BranchMetrics.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Pod::Spec.new do |s|

s.ios.deployment_target = "12.0"
s.ios.source_files = 'mParticle-BranchMetrics/*.{h,m,mm}'
s.ios.resource_bundles = { 'mParticle-BranchMetrics-Privacy' => ['mParticle-BranchMetrics/PrivacyInfo.xcprivacy'] }
s.ios.dependency 'mParticle-Apple-SDK/mParticle', '~> 8.9'
s.ios.dependency 'BranchSDK', '~> 3.4'
end
8 changes: 2 additions & 6 deletions mParticle-BranchMetrics/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict/>
</array>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict/>
</array>
<array/>
</dict>
</plist>

0 comments on commit c3a482b

Please sign in to comment.