From ff1cdc49c3e3d0ff4cf10b40dc0ef1701c18614c Mon Sep 17 00:00:00 2001 From: Tommy Nguyen <4123478+tido64@users.noreply.github.com> Date: Wed, 20 Mar 2024 12:16:30 +0100 Subject: [PATCH 1/2] fix(ios): collected data types declaration is required --- .changeset/poor-garlics-brake.md | 5 +++++ .../web-storage/ios/PrivacyInfo.xcprivacy | 6 ++++-- 2 files changed, 9 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..d8de9fff8 100644 --- a/incubator/@react-native-webapis/web-storage/ios/PrivacyInfo.xcprivacy +++ b/incubator/@react-native-webapis/web-storage/ios/PrivacyInfo.xcprivacy @@ -5,13 +5,15 @@ NSPrivacyAccessedAPITypes + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults NSPrivacyAccessedAPITypeReasons CA92.1 - NSPrivacyAccessedAPIType - NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyCollectedDataTypes + From 2aaa62bf6fed6d4d080440c81978c239b431a1e0 Mon Sep 17 00:00:00 2001 From: Tommy Nguyen <4123478+tido64@users.noreply.github.com> Date: Wed, 20 Mar 2024 12:33:12 +0100 Subject: [PATCH 2/2] fixup! fix(ios): collected data types declaration is required --- .../web-storage/ios/PrivacyInfo.xcprivacy | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/incubator/@react-native-webapis/web-storage/ios/PrivacyInfo.xcprivacy b/incubator/@react-native-webapis/web-storage/ios/PrivacyInfo.xcprivacy index d8de9fff8..5704beda8 100644 --- a/incubator/@react-native-webapis/web-storage/ios/PrivacyInfo.xcprivacy +++ b/incubator/@react-native-webapis/web-storage/ios/PrivacyInfo.xcprivacy @@ -2,6 +2,12 @@ + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + NSPrivacyAccessedAPITypes @@ -13,7 +19,5 @@ - NSPrivacyCollectedDataTypes -