Issue
I am publishing an application to App Store and Apple is asking me to justify the usage of privacy related APIs in my application.
Applies To
- All Sentry plans, including self-hosted.
- Apple SDK (Cocoa)
- Multiplatform SDKs: React-Native, Flutter, MAUI, Unity.
Resolution
Starting May 1, 2024, Apple requires all apps submitted to the App Store to provide a list of privacy-related APIs they use, including the reasons under which they use it. If you received an email from Apple with the message "ITMS-91053: Missing API declaration", your app doesn't fulfill the requirements.
Starting on v8.21.0 of our Cocoa SDK, Sentry keeps a manifest file with the APIs used by Sentry and the reason for it being used.
To solve the issue, please follow the documentation for your SDK (Left hand side Menu -> Data Management -> Apple Privacy Manifest):