Skip to content

Commit 14c7794

Browse files
philIipfacebook-github-bot
authored andcommitted
add privacy manifest to React-Core
Summary: Changelog: [Internal] add this to the framework's resource bundle reasons: - C617.1 (RCTJavaScriptLoader) - CA92.1 (RCTI18nUtil, RCTBundleURLProvider, RCTSettingsManager) current problem with this method is that the required reasons are not currently be aggregated during app store review, so those need to live in the app's. but go ahead and add it here for now, i think apple will try to fix it. Reviewed By: sammy-SC Differential Revision: D55622471 fbshipit-source-id: f6ab864f51d4fa6e20f5de4fd56d8126d55dea8d
1 parent 224ac21 commit 14c7794

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

packages/react-native/React-Core.podspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ Pod::Spec.new do |s|
132132
s.dependency "Yoga"
133133
s.dependency "glog"
134134

135+
s.resource_bundles = {'React-Core_privacy' => 'React/Resources/PrivacyInfo.xcprivacy'}
136+
135137
add_dependency(s, "React-jsinspector", :framework_name => 'jsinspector_modern')
136138
add_dependency(s, "RCTDeprecation")
137139

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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>NSPrivacyAccessedAPITypes</key>
6+
<array>
7+
<dict>
8+
<key>NSPrivacyAccessedAPIType</key>
9+
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
10+
<key>NSPrivacyAccessedAPITypeReasons</key>
11+
<array>
12+
<string>C617.1</string>
13+
</array>
14+
</dict>
15+
<dict>
16+
<key>NSPrivacyAccessedAPIType</key>
17+
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
18+
<key>NSPrivacyAccessedAPITypeReasons</key>
19+
<array>
20+
<string>CA92.1</string>
21+
</array>
22+
</dict>
23+
</array>
24+
<key>NSPrivacyCollectedDataTypes</key>
25+
<array/>
26+
<key>NSPrivacyTracking</key>
27+
<false/>
28+
</dict>
29+
</plist>

0 commit comments

Comments
 (0)