Skip to content

Commit

Permalink
feat: Add privacy manifest (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
einsteinx2 authored Apr 10, 2024
1 parent 6bd7871 commit 90c3c84
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let package = Package(
.upToNextMajor(from: "8.0.0")),
.package(name: "RadarSDK",
url: "https://github.com/radarlabs/radar-sdk-ios",
.upToNextMinor(from: "3.4.0")),
.upToNextMinor(from: "3.9.6")),
],
targets: [
.target(
Expand Down
2 changes: 1 addition & 1 deletion mParticle-Radar.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Pod::Spec.new do |s|
s.ios.source_files = 'mParticle-Radar/*.{h,m,mm}'
s.ios.frameworks = 'CoreLocation'
s.ios.dependency 'mParticle-Apple-SDK/mParticle', '~> 8.0'
s.ios.dependency 'RadarSDK', '~> 3.4.4'
s.ios.dependency 'RadarSDK', '~> 3.9'
s.ios.pod_target_xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '$(inherited) $(PODS_ROOT)/RadarSDK/**',
'OTHER_LDFLAGS' => '$(inherited) -framework "RadarSDK"' }
end
4 changes: 4 additions & 0 deletions mParticle-Radar.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
53E9ACCF2BBF198F0062A03A /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 53E9ACCE2BBF198F0062A03A /* PrivacyInfo.xcprivacy */; };
DB695FB31F5F549A00A7F4CF /* RadarSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DB695FB21F5F549A00A7F4CF /* RadarSDK.framework */; };
DB7E05A61CB819D300967FDF /* MPKitRadar.h in Headers */ = {isa = PBXBuildFile; fileRef = DB7E05A41CB819D300967FDF /* MPKitRadar.h */; settings = {ATTRIBUTES = (Public, ); }; };
DB7E05A71CB819D300967FDF /* MPKitRadar.m in Sources */ = {isa = PBXBuildFile; fileRef = DB7E05A51CB819D300967FDF /* MPKitRadar.m */; };
Expand All @@ -15,6 +16,7 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
53E9ACCE2BBF198F0062A03A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
DB695FB21F5F549A00A7F4CF /* RadarSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RadarSDK.framework; path = Carthage/Build/iOS/RadarSDK.framework; sourceTree = "<group>"; };
DB7E05A41CB819D300967FDF /* MPKitRadar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPKitRadar.h; sourceTree = "<group>"; };
DB7E05A51CB819D300967FDF /* MPKitRadar.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPKitRadar.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -61,6 +63,7 @@
DB7E05A41CB819D300967FDF /* MPKitRadar.h */,
DB7E05A51CB819D300967FDF /* MPKitRadar.m */,
DB94016F1CB703F2007ABB18 /* mParticle_Radar.h */,
53E9ACCE2BBF198F0062A03A /* PrivacyInfo.xcprivacy */,
DB9401711CB703F2007ABB18 /* Info.plist */,
);
path = "mParticle-Radar";
Expand Down Expand Up @@ -137,6 +140,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
53E9ACCF2BBF198F0062A03A /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
18 changes: 18 additions & 0 deletions mParticle-Radar/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 90c3c84

Please sign in to comment.