Skip to content

Commit

Permalink
Add NSPrivacyAccessedAPICategoryDiskSpace to the privacy manifest (#8511
Browse files Browse the repository at this point in the history
)

I thought this was only called in tests, but it turns out to also be used in
the backup code.
  • Loading branch information
tgoyne authored Mar 15, 2024
1 parent 7090f21 commit 78c9127
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
x.y.z Release notes (yyyy-MM-dd)
=============================================================
### Enhancements
* None.

### Fixed
* <How to hit and notice issue? what was the impact?> ([#????](https://github.com/realm/realm-swift/issues/????), since v?.?.?)
* The Realm.framework privacy manifest was missing
NSPrivacyAccessedAPICategoryDiskSpace, but we check free disk space before
attempting to automatically back up Realm files (since 10.46.0).

<!-- ### Breaking Changes - ONLY INCLUDE FOR NEW MAJOR version -->

### Compatibility
* Realm Studio: 14.0.1 or later.
* APIs are backwards compatible with all previous releases in the 10.x.y series.
* Carthage release for Swift is built with Xcode 15.3.0.
* CocoaPods: 1.10 or later.
* Xcode: 14.2-15.3.0.

### Internal
* Upgraded realm-core from ? to ?

10.48.0 Release notes (2024-03-07)
=============================================================

Expand Down
8 changes: 8 additions & 0 deletions Realm/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
</dict>
<dict>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>E174.1</string>
</array>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
</dict>
</array>
<key>NSPrivacyTracking</key>
<false/>
Expand Down

0 comments on commit 78c9127

Please sign in to comment.