Skip to content

Commit

Permalink
RJS-2757: Add Apple Privacy Manifest (#6605)
Browse files Browse the repository at this point in the history
* Add Apple Privacy Manifest
  • Loading branch information
kneth authored Apr 17, 2024
1 parent 724540c commit 9fea251
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
> This version communicates with Atlas Device Services through a different URL (https://services.cloud.mongodb.com). While we consider this an internal detail of the SDK, you might need to update rules in firewalls or other configuration that you've used to limit connections made by your app.
### Enhancements
* Added [iOS Privacy Manifest](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files?language=objc). ([#6547](https://github.com/realm/realm-js/issues/6547)
* Updated bundled OpenSSL version to 3.2.0. ([realm/realm-core#7303](https://github.com/realm/realm-core/pull/7303))
* Improved performance of object notifiers with complex schemas by ~20%. ([realm/realm-core#7424](https://github.com/realm/realm-core/pull/7424))
* Improved performance with very large number of notifiers by ~75%. ([realm/realm-core#7424](https://github.com/realm/realm-core/pull/7424))
Expand Down
23 changes: 23 additions & 0 deletions packages/realm/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
</dict>
</array>
<key>NSPrivacyTracking</key>
<false/>
</dict>
</plist>
1 change: 1 addition & 0 deletions packages/realm/RealmJS.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Pod::Spec.new do |s|

s.source_files = 'react-native/ios/RealmReact/*.mm'
s.public_header_files = 'react-native/ios/RealmReact/*.h'
s.resource_bundles = { 'RealmJS' => ['PrivacyInfo.xcprivacy'] }

s.frameworks = uses_frameworks ? ['React'] : []

Expand Down
5 changes: 3 additions & 2 deletions packages/realm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@
"scripts/submit-analytics.mjs",
"react-native.config.js",
"RealmJS.podspec",
"binding.gyp"
"binding.gyp",
"PrivacyInfo.xcprivacy"
],
"scripts": {
"test": "wireit",
Expand Down Expand Up @@ -377,4 +378,4 @@
6
]
}
}
}

0 comments on commit 9fea251

Please sign in to comment.