Skip to content

Commit

Permalink
feat: Improve Privacy Manifest support for iOS 17 (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
einsteinx2 authored May 7, 2024
1 parent b0ce857 commit 6e96ce9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
5 changes: 3 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,17 @@ let package = Package(
dependencies: [
.package(name: "mParticle-Apple-SDK",
url: "https://github.com/mParticle/mparticle-apple-sdk",
.upToNextMajor(from: "8.0.0")),
.upToNextMajor(from: "8.22.0")),
.package(name: "CleverTapSDK",
url: "https://github.com/CleverTap/clevertap-ios-sdk",
.upToNextMajor(from: "6.2.0")),
.upToNextMajor(from: "6.2.1")),
],
targets: [
.target(
name: "mParticle-CleverTap",
dependencies: ["mParticle-Apple-SDK", "CleverTapSDK"],
path: "mParticle-CleverTap",
resources: [.process("PrivacyInfo.xcprivacy")],
publicHeadersPath: "."
),
]
Expand Down
6 changes: 4 additions & 2 deletions mParticle-CleverTap.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ Pod::Spec.new do |s|

s.ios.deployment_target = "9.0"
s.ios.source_files = 'mParticle-CleverTap/*.{h,m}'
s.ios.dependency 'mParticle-Apple-SDK/mParticle', '~> 8.0'
s.ios.resource_bundles = { 'mParticle-CleverTap-Privacy' => ['mParticle-CleverTap/PrivacyInfo.xcprivacy'] }
s.ios.dependency 'mParticle-Apple-SDK/mParticle', '~> 8.22'
s.ios.dependency 'CleverTap-iOS-SDK', '~> 6.2'

s.tvos.deployment_target = "9.0"
s.tvos.source_files = 'mParticle-CleverTap/*.{h,m}'
s.tvos.dependency 'mParticle-Apple-SDK/mParticle', '~> 8.0'
s.ios.resource_bundles = { 'mParticle-CleverTap-Privacy' => ['mParticle-CleverTap/PrivacyInfo.xcprivacy'] }
s.tvos.dependency 'mParticle-Apple-SDK/mParticle', '~> 8.22'
s.tvos.dependency 'CleverTap-iOS-SDK', '~> 6.2'
end
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 6e96ce9

Please sign in to comment.