IDEMSInternational / open-app-builder

PLH App Frontend
GNU General Public License v3.0
6 stars 25 forks source link

Feat: add ios privacy manifest #2286

Closed jfmcquade closed 5 months ago

jfmcquade commented 5 months ago

PR Checklist

Description

Follows on from this discussion on mattermost.

We received the following notification from Apple:

ITMS-91053: Missing API declaration - Your app’s code in the “Formando Conciencia” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryFileTimestamp. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.

This PR adds a privacy manifest that provides the reason for requiring the NSPrivacyAccessedAPICategoryFileTimestamp as C617.1, with the target of the manifest as our app itself, see this documentation.

Whilst we suspect that the Capacitor file system is the reason for requesting the API, in which case the target could be that specific SDK and the reason could be 0A2A.1. This is something that Capacitor should handle itself, and indeed a possible fix is included in this beta Capacitor release. For now, managing our own privacy files seems sensible. See mattermost thread for more details.

Git Issues

Closes #