From 787e5bd11efded916d0e88f4911e33b6c12a14df Mon Sep 17 00:00:00 2001 From: BrandonStalnaker Date: Fri, 1 Mar 2024 11:14:18 -0500 Subject: [PATCH] feat: Update to latest Branch SDK and add Privacy Manifest --- Cartfile | 2 +- mParticle-BranchMetrics.podspec | 4 ++-- .../project.pbxproj | 4 ++++ mParticle-BranchMetrics/PrivacyInfo.xcprivacy | 18 ++++++++++++++++++ 4 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 mParticle-BranchMetrics/PrivacyInfo.xcprivacy diff --git a/Cartfile b/Cartfile index dabc0e8..dd99c99 100644 --- a/Cartfile +++ b/Cartfile @@ -1,2 +1,2 @@ -github "BranchMetrics/ios-branch-deep-linking" ~> 2.2.0 +github "BranchMetrics/ios-branch-deep-linking" ~> 3.3.0 github "mparticle/mparticle-apple-sdk" ~> 8.9 \ No newline at end of file diff --git a/mParticle-BranchMetrics.podspec b/mParticle-BranchMetrics.podspec index 75a3f6c..329dabb 100755 --- a/mParticle-BranchMetrics.podspec +++ b/mParticle-BranchMetrics.podspec @@ -13,8 +13,8 @@ Pod::Spec.new do |s| s.source = { :git => "https://github.com/mparticle-integrations/mparticle-apple-integration-branchmetrics.git", :tag => "v" +s.version.to_s } s.social_media_url = "https://twitter.com/mparticle" - s.ios.deployment_target = "11.0" + s.ios.deployment_target = "12.0" s.ios.source_files = 'mParticle-BranchMetrics/*.{h,m,mm}' s.ios.dependency 'mParticle-Apple-SDK/mParticle', '~> 8.9' - s.ios.dependency 'BranchSDK', '~> 2.2.0' + s.ios.dependency 'BranchSDK', '~> 3.3.0' end diff --git a/mParticle-BranchMetrics.xcodeproj/project.pbxproj b/mParticle-BranchMetrics.xcodeproj/project.pbxproj index bce0487..feb9a1d 100644 --- a/mParticle-BranchMetrics.xcodeproj/project.pbxproj +++ b/mParticle-BranchMetrics.xcodeproj/project.pbxproj @@ -7,6 +7,7 @@ objects = { /* Begin PBXBuildFile section */ + D344232E2B923208006CD046 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = D344232D2B923208006CD046 /* PrivacyInfo.xcprivacy */; }; DB7E05A61CB819D300967FDF /* MPKitBranchMetrics.h in Headers */ = {isa = PBXBuildFile; fileRef = DB7E05A41CB819D300967FDF /* MPKitBranchMetrics.h */; settings = {ATTRIBUTES = (Public, ); }; }; DB7E05A71CB819D300967FDF /* MPKitBranchMetrics.m in Sources */ = {isa = PBXBuildFile; fileRef = DB7E05A51CB819D300967FDF /* MPKitBranchMetrics.m */; }; DB9401701CB703F2007ABB18 /* mParticle_BranchMetrics.h in Headers */ = {isa = PBXBuildFile; fileRef = DB94016F1CB703F2007ABB18 /* mParticle_BranchMetrics.h */; settings = {ATTRIBUTES = (Public, ); }; }; @@ -15,6 +16,7 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ + D344232D2B923208006CD046 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; DB7E05A41CB819D300967FDF /* MPKitBranchMetrics.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPKitBranchMetrics.h; sourceTree = ""; }; DB7E05A51CB819D300967FDF /* MPKitBranchMetrics.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPKitBranchMetrics.m; sourceTree = ""; }; DB94016C1CB703F2007ABB18 /* mParticle_BranchMetrics.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = mParticle_BranchMetrics.framework; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -59,6 +61,7 @@ children = ( DB9401711CB703F2007ABB18 /* Info.plist */, DB94016F1CB703F2007ABB18 /* mParticle_BranchMetrics.h */, + D344232D2B923208006CD046 /* PrivacyInfo.xcprivacy */, DB7E05A41CB819D300967FDF /* MPKitBranchMetrics.h */, DB7E05A51CB819D300967FDF /* MPKitBranchMetrics.m */, ); @@ -145,6 +148,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + D344232E2B923208006CD046 /* PrivacyInfo.xcprivacy in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/mParticle-BranchMetrics/PrivacyInfo.xcprivacy b/mParticle-BranchMetrics/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..8ceb89c --- /dev/null +++ b/mParticle-BranchMetrics/PrivacyInfo.xcprivacy @@ -0,0 +1,18 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + + + NSPrivacyAccessedAPITypes + + + + +