From 341a40dd8310747cf7481fcdffd1524f29a4ca16 Mon Sep 17 00:00:00 2001 From: Tommy Nguyen <4123478+tido64@users.noreply.github.com> Date: Wed, 20 Mar 2024 12:41:51 +0100 Subject: [PATCH] fix(ios): collected data types declaration is required (#3027) --- .changeset/poor-garlics-brake.md | 5 +++++ .../web-storage/ios/PrivacyInfo.xcprivacy | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .changeset/poor-garlics-brake.md diff --git a/.changeset/poor-garlics-brake.md b/.changeset/poor-garlics-brake.md new file mode 100644 index 000000000..e025cce8e --- /dev/null +++ b/.changeset/poor-garlics-brake.md @@ -0,0 +1,5 @@ +--- +"@react-native-webapis/web-storage": patch +--- + +`NSPrivacyCollectedDataTypes` needs to be present even if we don't collect any data diff --git a/incubator/@react-native-webapis/web-storage/ios/PrivacyInfo.xcprivacy b/incubator/@react-native-webapis/web-storage/ios/PrivacyInfo.xcprivacy index 36a611c06..5704beda8 100644 --- a/incubator/@react-native-webapis/web-storage/ios/PrivacyInfo.xcprivacy +++ b/incubator/@react-native-webapis/web-storage/ios/PrivacyInfo.xcprivacy @@ -2,15 +2,21 @@ + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + NSPrivacyAccessedAPITypes + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults NSPrivacyAccessedAPITypeReasons CA92.1 - NSPrivacyAccessedAPIType - NSPrivacyAccessedAPICategoryUserDefaults