Skip to content

Commit 11def80

Browse files
philIipfacebook-github-bot
authored andcommitted
add privacy manifest to RCT-Folly
Summary: Changelog: [Internal] add this to the framework's resource bundle from the audit there were callsites to fstat variants in our forked copy of boost, so use C617.1. callsites: - RCT-Folly/folly/FileUtil.h - RCT-Folly/folly/portability/SysStat.h 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: cipolleschi Differential Revision: D55625114 fbshipit-source-id: fb388f474e62543828218925b0d409d4b558c3db
1 parent c05591b commit 11def80

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

packages/react-native/third-party-podspecs/RCT-Folly.podspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ Pod::Spec.new do |spec|
9393

9494
spec.default_subspec = 'Default'
9595

96+
spec.resource_bundles = {'RCT-Folly_privacy' => 'RCT-Folly/PrivacyInfo.xcprivacy'}
97+
9698
spec.subspec 'Default' do
9799
# no-op
98100
end
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>

0 commit comments

Comments
 (0)