flutter_workmanager
flutter_workmanager copied to clipboard
🐞 iOS Privacy Manifest is missing
- [x] I have read the README
- [x] I have done the setup for Android
- [x] I have done the setup for iOS
- [x] I have ran the sample app and it does not work there
Version
| Technology | Version |
|---|---|
| Workmanager version | 0.5.2 |
| Xcode version | 15.3 |
| Swift version | N/A |
| iOS deployment target | 12.0 |
Describe the error
WorkManager does not provide a PrivacyManifest. This is required as of May 1st 2024, as indicated by Apple: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api
The UserDefaults API needs a Required Reason set up in the manifest.
You can implement the privacy manifest to your own Main-Runner App. AppStore does not report an issue if correct implemented.
The Sample App should not be uploaded to the AppStore.
I noticed that Apple only reports warnings for your own app's Runner. However, their documentation clearly states that third-party SDKs should provide a Privacy Manifest. To comply with the latter, for the Required Reason API rules, I added said manifest to workmanager in the linked PR (not to the example app, since that is irrelevant for App Store submissions)