Skip to content

Commit 25ba35e

Browse files
authored
Merge pull request #753 from Iterable/MOB-7823-iOS-Privacy-Manifest
[MOB-7823] - Adding SDK's privacy manifest file
2 parents 8eeda49 + fdf657b commit 25ba35e

File tree

2 files changed

+88
-0
lines changed

2 files changed

+88
-0
lines changed

swift-sdk.xcodeproj/project.pbxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,8 @@
399399
ACFF42A924656DA500FDF10D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = ACFF42A824656D8E00FDF10D /* Assets.xcassets */; };
400400
ACFF42AC24656DD100FDF10D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = ACFF42AA24656DC800FDF10D /* LaunchScreen.storyboard */; };
401401
ACFF42B02465B4AE00FDF10D /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = ACFF42AF2465B4AE00FDF10D /* AppDelegate.swift */; };
402+
BA2BB8192BADD5A500EA0229 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = BA2BB8182BADD5A500EA0229 /* PrivacyInfo.xcprivacy */; };
403+
BA2BB81A2BADD5A500EA0229 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = BA2BB8182BADD5A500EA0229 /* PrivacyInfo.xcprivacy */; };
402404
E9BF47962B46D5DC0033DB69 /* IterableEmbeddedView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E9BF47952B46D5DC0033DB69 /* IterableEmbeddedView.swift */; };
403405
E9BF47982B46DEB30033DB69 /* IterableEmbeddedView.xib in Resources */ = {isa = PBXBuildFile; fileRef = E9BF47972B46DEB30033DB69 /* IterableEmbeddedView.xib */; };
404406
/* End PBXBuildFile section */
@@ -802,6 +804,7 @@
802804
ACFF42AD24656E7800FDF10D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
803805
ACFF42AE24656ECF00FDF10D /* ui-tests-app.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "ui-tests-app.entitlements"; sourceTree = "<group>"; };
804806
ACFF42AF2465B4AE00FDF10D /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
807+
BA2BB8182BADD5A500EA0229 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
805808
E9BF47952B46D5DC0033DB69 /* IterableEmbeddedView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IterableEmbeddedView.swift; sourceTree = "<group>"; };
806809
E9BF47972B46DEB30033DB69 /* IterableEmbeddedView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = IterableEmbeddedView.xib; sourceTree = "<group>"; };
807810
/* End PBXFileReference section */
@@ -1060,6 +1063,7 @@
10601063
AC3C10F8213F46A900A9B839 /* IterableLogging.swift */,
10611064
ACA8D1A221910C66001B1332 /* IterableMessaging.swift */,
10621065
AC78F0E6253D7F09006378A5 /* IterablePushNotificationMetadata.swift */,
1066+
BA2BB8182BADD5A500EA0229 /* PrivacyInfo.xcprivacy */,
10631067
);
10641068
path = "swift-sdk";
10651069
sourceTree = "<group>";
@@ -1933,6 +1937,7 @@
19331937
files = (
19341938
AC219C532260006600B98631 /* Assets.xcassets in Resources */,
19351939
E9BF47982B46DEB30033DB69 /* IterableEmbeddedView.xib in Resources */,
1940+
BA2BB8192BADD5A500EA0229 /* PrivacyInfo.xcprivacy in Resources */,
19361941
AC219C51225FEDBD00B98631 /* SampleInboxCell.xib in Resources */,
19371942
);
19381943
runOnlyForDeploymentPostprocessing = 0;
@@ -1958,6 +1963,7 @@
19581963
isa = PBXResourcesBuildPhase;
19591964
buildActionMask = 2147483647;
19601965
files = (
1966+
BA2BB81A2BADD5A500EA0229 /* PrivacyInfo.xcprivacy in Resources */,
19611967
);
19621968
runOnlyForDeploymentPostprocessing = 0;
19631969
};

swift-sdk/PrivacyInfo.xcprivacy

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>NSPrivacyTracking</key>
6+
<false/>
7+
<key>NSPrivacyCollectedDataTypes</key>
8+
<array>
9+
<dict>
10+
<key>NSPrivacyCollectedDataType</key>
11+
<string>NSPrivacyCollectedDataTypeProductInteraction</string>
12+
<key>NSPrivacyCollectedDataTypeLinked</key>
13+
<true/>
14+
<key>NSPrivacyCollectedDataTypeTracking</key>
15+
<false/>
16+
<key>NSPrivacyCollectedDataTypePurposes</key>
17+
<array>
18+
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
19+
</array>
20+
</dict>
21+
<dict>
22+
<key>NSPrivacyCollectedDataType</key>
23+
<string>NSPrivacyCollectedDataTypeDeviceID</string>
24+
<key>NSPrivacyCollectedDataTypeLinked</key>
25+
<true/>
26+
<key>NSPrivacyCollectedDataTypeTracking</key>
27+
<false/>
28+
<key>NSPrivacyCollectedDataTypePurposes</key>
29+
<array>
30+
<string>NSPrivacyCollectedDataTypePurposeDeveloperAdvertising</string>
31+
</array>
32+
</dict>
33+
<dict>
34+
<key>NSPrivacyCollectedDataType</key>
35+
<string>NSPrivacyCollectedDataTypeUserID</string>
36+
<key>NSPrivacyCollectedDataTypeLinked</key>
37+
<true/>
38+
<key>NSPrivacyCollectedDataTypeTracking</key>
39+
<false/>
40+
<key>NSPrivacyCollectedDataTypePurposes</key>
41+
<array>
42+
<string>NSPrivacyCollectedDataTypePurposeDeveloperAdvertising</string>
43+
</array>
44+
</dict>
45+
<dict>
46+
<key>NSPrivacyCollectedDataType</key>
47+
<string>NSPrivacyCollectedDataTypePhoneNumber</string>
48+
<key>NSPrivacyCollectedDataTypeLinked</key>
49+
<true/>
50+
<key>NSPrivacyCollectedDataTypeTracking</key>
51+
<false/>
52+
<key>NSPrivacyCollectedDataTypePurposes</key>
53+
<array>
54+
<string>NSPrivacyCollectedDataTypePurposeDeveloperAdvertising</string>
55+
</array>
56+
</dict>
57+
<dict>
58+
<key>NSPrivacyCollectedDataType</key>
59+
<string>NSPrivacyCollectedDataTypeEmailAddress</string>
60+
<key>NSPrivacyCollectedDataTypeLinked</key>
61+
<true/>
62+
<key>NSPrivacyCollectedDataTypeTracking</key>
63+
<false/>
64+
<key>NSPrivacyCollectedDataTypePurposes</key>
65+
<array>
66+
<string>NSPrivacyCollectedDataTypePurposeDeveloperAdvertising</string>
67+
</array>
68+
</dict>
69+
</array>
70+
<key>NSPrivacyAccessedAPITypes</key>
71+
<array>
72+
<dict>
73+
<key>NSPrivacyAccessedAPITypeReasons</key>
74+
<array>
75+
<string>CA92.1</string>
76+
</array>
77+
<key>NSPrivacyAccessedAPIType</key>
78+
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
79+
</dict>
80+
</array>
81+
</dict>
82+
</plist>

0 commit comments

Comments
 (0)