Skip to content

Commit

Permalink
Add privacy manifest for Apple App Store
Browse files Browse the repository at this point in the history
  • Loading branch information
kneth committed May 1, 2024
1 parent 56112c7 commit 8ef5f48
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<!-- * Either mention core version or upgrade -->
<!-- * Using Realm Core vX.Y.Z -->
<!-- * Upgraded Realm Core from vX.Y.Z to vA.B.C -->
* Added privacy manifest for Apple App Store. ([#6638](https://github.com/realm/realm-js/issues/6638))

## 12.7.1 (2024-04-19)

Expand Down
1 change: 1 addition & 0 deletions packages/realm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"types.d.cts",
"react-native/android",
"react-native/ios/realm-js-ios.xcframework",
"react-native/ios/realm-js-ios/PrivacyInfo.xcprivacy",
"react-native/ios/realm-js-ios.xcframework/**/*.a",
"react-native/ios/RealmReact",
"bindgen/vendor/realm-core/dependencies.list",
Expand Down
3 changes: 3 additions & 0 deletions packages/realm/scripts/build-ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,6 @@ rm -rf ../realm-js-ios.xcframework
xcodebuild -create-xcframework \
"${LIBRARIES[@]}" \
-output ../realm-js-ios.xcframework

# Add the privacy manifest to the generated framework
cp "${PROJECT_ROOT}/PrivacyInfo.xcprivacy" ../realm-js-ios.xcframework

0 comments on commit 8ef5f48

Please sign in to comment.