Skip to content

Commit

Permalink
fix(ios): collected data types declaration is required (#3027)
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 authored Mar 20, 2024
1 parent 45c4c42 commit 341a40d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/poor-garlics-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@react-native-webapis/web-storage": patch
---

`NSPrivacyCollectedDataTypes` needs to be present even if we don't collect any data
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,21 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
</dict>
</array>
</dict>
Expand Down

0 comments on commit 341a40d

Please sign in to comment.