Skip to content

Commit d357a61

Browse files
committed
pick 42978 add privacy manifest to hello world template
1 parent ee14572 commit d357a61

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

packages/react-native/template/ios/HelloWorld.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; };
1313
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
1414
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
15+
6132EF182BDFF13200BBE14D /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 6132EF172BDFF13200BBE14D /* PrivacyInfo.xcprivacy */; };
1516
7699B88040F8A987B510C191 /* libPods-HelloWorld-HelloWorldTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-HelloWorld-HelloWorldTests.a */; };
1617
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
1718
/* End PBXBuildFile section */
@@ -41,6 +42,7 @@
4142
5709B34CF0A7D63546082F79 /* Pods-HelloWorld.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HelloWorld.release.xcconfig"; path = "Target Support Files/Pods-HelloWorld/Pods-HelloWorld.release.xcconfig"; sourceTree = "<group>"; };
4243
5B7EB9410499542E8C5724F5 /* Pods-HelloWorld-HelloWorldTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HelloWorld-HelloWorldTests.debug.xcconfig"; path = "Target Support Files/Pods-HelloWorld-HelloWorldTests/Pods-HelloWorld-HelloWorldTests.debug.xcconfig"; sourceTree = "<group>"; };
4344
5DCACB8F33CDC322A6C60F78 /* libPods-HelloWorld.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-HelloWorld.a"; sourceTree = BUILT_PRODUCTS_DIR; };
45+
6132EF172BDFF13200BBE14D /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = HelloWorld/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
4446
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = HelloWorld/LaunchScreen.storyboard; sourceTree = "<group>"; };
4547
89C6BE57DB24E9ADA2F236DE /* Pods-HelloWorld-HelloWorldTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HelloWorld-HelloWorldTests.release.xcconfig"; path = "Target Support Files/Pods-HelloWorld-HelloWorldTests/Pods-HelloWorld-HelloWorldTests.release.xcconfig"; sourceTree = "<group>"; };
4648
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
@@ -116,6 +118,7 @@
116118
83CBB9F61A601CBA00E9B192 = {
117119
isa = PBXGroup;
118120
children = (
121+
6132EF172BDFF13200BBE14D /* PrivacyInfo.xcprivacy */,
119122
13B07FAE1A68108700A75B9A /* HelloWorld */,
120123
832341AE1AAA6A7D00B99B32 /* Libraries */,
121124
00E356EF1AD99517003FC87E /* HelloWorldTests */,
@@ -242,6 +245,7 @@
242245
isa = PBXResourcesBuildPhase;
243246
buildActionMask = 2147483647;
244247
files = (
248+
6132EF182BDFF13200BBE14D /* PrivacyInfo.xcprivacy in Resources */,
245249
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
246250
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
247251
);
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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>NSPrivacyCollectedDataTypes</key>
6+
<array>
7+
</array>
8+
<key>NSPrivacyAccessedAPITypes</key>
9+
<array>
10+
<dict>
11+
<key>NSPrivacyAccessedAPIType</key>
12+
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
13+
<key>NSPrivacyAccessedAPITypeReasons</key>
14+
<array>
15+
<string>C617.1</string>
16+
</array>
17+
</dict>
18+
<dict>
19+
<key>NSPrivacyAccessedAPIType</key>
20+
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
21+
<key>NSPrivacyAccessedAPITypeReasons</key>
22+
<array>
23+
<string>CA92.1</string>
24+
</array>
25+
</dict>
26+
<dict>
27+
<key>NSPrivacyAccessedAPIType</key>
28+
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
29+
<key>NSPrivacyAccessedAPITypeReasons</key>
30+
<array>
31+
<string>35F9.1</string>
32+
</array>
33+
</dict>
34+
</array>
35+
<key>NSPrivacyTracking</key>
36+
<false/>
37+
</dict>
38+
</plist>

0 commit comments

Comments
 (0)