Skip to content

Commit

Permalink
feat: Update to latest Branch SDK and add Privacy Manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonStalnaker committed Mar 1, 2024
1 parent 127a9ec commit 787e5bd
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions mParticle-BranchMetrics.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions mParticle-BranchMetrics.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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, ); }; };
Expand All @@ -15,6 +16,7 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
D344232D2B923208006CD046 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
DB7E05A41CB819D300967FDF /* MPKitBranchMetrics.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPKitBranchMetrics.h; sourceTree = "<group>"; };
DB7E05A51CB819D300967FDF /* MPKitBranchMetrics.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPKitBranchMetrics.m; sourceTree = "<group>"; };
DB94016C1CB703F2007ABB18 /* mParticle_BranchMetrics.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = mParticle_BranchMetrics.framework; sourceTree = BUILT_PRODUCTS_DIR; };
Expand Down Expand Up @@ -59,6 +61,7 @@
children = (
DB9401711CB703F2007ABB18 /* Info.plist */,
DB94016F1CB703F2007ABB18 /* mParticle_BranchMetrics.h */,
D344232D2B923208006CD046 /* PrivacyInfo.xcprivacy */,
DB7E05A41CB819D300967FDF /* MPKitBranchMetrics.h */,
DB7E05A51CB819D300967FDF /* MPKitBranchMetrics.m */,
);
Expand Down Expand Up @@ -145,6 +148,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D344232E2B923208006CD046 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
18 changes: 18 additions & 0 deletions mParticle-BranchMetrics/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict/>
</array>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict/>
</array>
</dict>
</plist>

0 comments on commit 787e5bd

Please sign in to comment.