Skip to content

Commit c05591b

Browse files
philIipfacebook-github-bot
authored andcommitted
add privacy manifest to react native boost
Summary: Changelog: [Internal] add this to the framework's resource bundle from the audit there were callsites to mach_absolute_time and fstat variants in our forked copy of boost, so use 35F9.1 and C617.1 respectively. 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: D55625113 fbshipit-source-id: 0dcd216116595d1bb14e6b843f711aac68f84e5c
1 parent 54c9748 commit c05591b

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

packages/react-native/third-party-podspecs/boost.podspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ Pod::Spec.new do |spec|
2222
spec.header_dir = 'boost'
2323
spec.preserve_path = 'boost'
2424
spec.header_mappings_dir = 'boost/boost'
25+
26+
spec.resource_bundles = {'boost_privacy' => 'boost/PrivacyInfo.xcprivacy'}
2527
end
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>NSPrivacyAccessedAPICategorySystemBootTime</string>
18+
<key>NSPrivacyAccessedAPITypeReasons</key>
19+
<array>
20+
<string>35F9.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)