From 11def80f5d5677f1dfa8d81bd18918ed7b905a9e Mon Sep 17 00:00:00 2001 From: Phillip Pan Date: Mon, 22 Apr 2024 16:15:53 -0700 Subject: [PATCH] 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 --- .../third-party-podspecs/RCT-Folly.podspec | 2 ++ .../RCT-Folly/PrivacyInfo.xcprivacy | 21 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 packages/react-native/third-party-podspecs/RCT-Folly/PrivacyInfo.xcprivacy diff --git a/packages/react-native/third-party-podspecs/RCT-Folly.podspec b/packages/react-native/third-party-podspecs/RCT-Folly.podspec index ccc10a5b47c..ad3a838ad30 100644 --- a/packages/react-native/third-party-podspecs/RCT-Folly.podspec +++ b/packages/react-native/third-party-podspecs/RCT-Folly.podspec @@ -93,6 +93,8 @@ Pod::Spec.new do |spec| spec.default_subspec = 'Default' + spec.resource_bundles = {'RCT-Folly_privacy' => 'RCT-Folly/PrivacyInfo.xcprivacy'} + spec.subspec 'Default' do # no-op end diff --git a/packages/react-native/third-party-podspecs/RCT-Folly/PrivacyInfo.xcprivacy b/packages/react-native/third-party-podspecs/RCT-Folly/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..6be0f26360c --- /dev/null +++ b/packages/react-native/third-party-podspecs/RCT-Folly/PrivacyInfo.xcprivacy @@ -0,0 +1,21 @@ + + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + +