Skip to content

Commit d43b77a

Browse files
committed
feat: Improve Privacy Manifest support (#29)
1 parent ce6e195 commit d43b77a

File tree

6 files changed

+75
-117
lines changed

6 files changed

+75
-117
lines changed

Cartfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" ~> 9.0
2-
github "mparticle/mparticle-apple-sdk" ~> 8.0
1+
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" ~> 10.0
2+
binary "https://raw.githubusercontent.com/mParticle/mparticle-apple-sdk/main/mParticle_Apple_SDK.json" ~> 8.19

Package.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ let package = Package(
1414
dependencies: [
1515
.package(name: "mParticle-Apple-SDK",
1616
url: "https://github.com/mParticle/mparticle-apple-sdk",
17-
.upToNextMajor(from: "8.0.0")),
17+
.upToNextMajor(from: "8.22.0")),
1818
.package(name: "Firebase",
1919
url: "https://github.com/firebase/firebase-ios-sdk.git",
20-
.upToNextMajor(from: "10.6.0")),
20+
.upToNextMajor(from: "10.23.0")),
2121
],
2222
targets: [
2323
.target(
@@ -28,6 +28,7 @@ let package = Package(
2828
],
2929
path: "mParticle-Google-Analytics-Firebase",
3030
exclude: ["Info.plist", "dummy.swift"],
31+
resources: [.process("PrivacyInfo.xcprivacy")],
3132
publicHeadersPath: "."),
3233
]
3334
)

mParticle-Google-Analytics-Firebase.podspec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ Pod::Spec.new do |s|
1414
s.social_media_url = "https://twitter.com/mparticle"
1515
s.static_framework = true
1616

17-
s.ios.deployment_target = "10.0"
17+
s.ios.deployment_target = "11.0"
1818
s.ios.source_files = 'mParticle-Google-Analytics-Firebase/*.{h,m,mm}'
19-
s.ios.dependency 'mParticle-Apple-SDK/mParticle', '~> 8.0'
19+
s.ios.resource_bundles = { 'mParticle-Google-Analytics-Firebase-Privacy' => ['mParticle-Google-Analytics-Firebase/PrivacyInfo.xcprivacy'] }
20+
s.ios.dependency 'mParticle-Apple-SDK/mParticle', '~> 8.22'
2021
s.ios.frameworks = 'CoreTelephony', 'SystemConfiguration'
2122
s.libraries = 'z'
2223
s.ios.dependency 'Firebase/Core', '~> 10.23'

0 commit comments

Comments
 (0)