Skip to content

Commit

Permalink
feat: Improve Privacy Manifest support (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
einsteinx2 committed May 3, 2024
1 parent ce6e195 commit 9a3d455
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 116 deletions.
4 changes: 2 additions & 2 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" ~> 9.0
github "mparticle/mparticle-apple-sdk" ~> 8.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" ~> 10.0
binary "https://raw.githubusercontent.com/mParticle/mparticle-apple-sdk/main/mParticle_Apple_SDK.json" ~> 8.19
5 changes: 3 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ 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: "Firebase",
url: "https://github.com/firebase/firebase-ios-sdk.git",
.upToNextMajor(from: "10.6.0")),
.upToNextMajor(from: "10.23.0")),
],
targets: [
.target(
Expand All @@ -28,6 +28,7 @@ let package = Package(
],
path: "mParticle-Google-Analytics-Firebase",
exclude: ["Info.plist", "dummy.swift"],
resources: [.process("PrivacyInfo.xcprivacy")],
publicHeadersPath: "."),
]
)
3 changes: 2 additions & 1 deletion mParticle-Google-Analytics-Firebase.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ Pod::Spec.new do |s|

s.ios.deployment_target = "10.0"
s.ios.source_files = 'mParticle-Google-Analytics-Firebase/*.{h,m,mm}'
s.ios.dependency 'mParticle-Apple-SDK/mParticle', '~> 8.0'
s.ios.resource_bundles = { 'mParticle-Google-Analytics-Firebase-Privacy' => ['mParticle-Google-Analytics-Firebase/PrivacyInfo.xcprivacy'] }
s.ios.dependency 'mParticle-Apple-SDK/mParticle', '~> 8.22'
s.ios.frameworks = 'CoreTelephony', 'SystemConfiguration'
s.libraries = 'z'
s.ios.dependency 'Firebase/Core', '~> 10.23'
Expand Down
Loading

0 comments on commit 9a3d455

Please sign in to comment.