diff --git a/packages/react-native/ReactCommon/cxxreact/PrivacyInfo.xcprivacy b/packages/react-native/ReactCommon/cxxreact/PrivacyInfo.xcprivacy new file mode 100644 index 00000000000..6be0f26360c --- /dev/null +++ b/packages/react-native/ReactCommon/cxxreact/PrivacyInfo.xcprivacy @@ -0,0 +1,21 @@ + + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + + diff --git a/packages/react-native/ReactCommon/cxxreact/React-cxxreact.podspec b/packages/react-native/ReactCommon/cxxreact/React-cxxreact.podspec index 4cbcd4919e5..16895e1d78f 100644 --- a/packages/react-native/ReactCommon/cxxreact/React-cxxreact.podspec +++ b/packages/react-native/ReactCommon/cxxreact/React-cxxreact.podspec @@ -53,6 +53,8 @@ Pod::Spec.new do |s| s.dependency "React-logger", version s.dependency "React-debug", version + s.resource_bundles = {'React-cxxreact_privacy' => 'PrivacyInfo.xcprivacy'} + if ENV['USE_HERMES'] == nil || ENV['USE_HERMES'] == "1" s.dependency 'hermes-engine' end