Skip to content

Commit 54c9748

Browse files
philIipfacebook-github-bot
authored andcommitted
add privacy manifest to React-cxxreact
Summary: Changelog: [Internal] add this to the framework's resource bundle reasons: - C617.1 (JSBigString) 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: D55624716 fbshipit-source-id: 400e9852a64e7f9fd9e32225b199f2664a069fc2
1 parent 14c7794 commit 54c9748

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+
</array>
16+
<key>NSPrivacyCollectedDataTypes</key>
17+
<array/>
18+
<key>NSPrivacyTracking</key>
19+
<false/>
20+
</dict>
21+
</plist>

packages/react-native/ReactCommon/cxxreact/React-cxxreact.podspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ Pod::Spec.new do |s|
5353
s.dependency "React-logger", version
5454
s.dependency "React-debug", version
5555

56+
s.resource_bundles = {'React-cxxreact_privacy' => 'PrivacyInfo.xcprivacy'}
57+
5658
if ENV['USE_HERMES'] == nil || ENV['USE_HERMES'] == "1"
5759
s.dependency 'hermes-engine'
5860
end

0 commit comments

Comments
 (0)