flutter_workmanager icon indicating copy to clipboard operation
flutter_workmanager copied to clipboard

🐞 iOS Privacy Manifest is missing

Open navaronbracke opened this issue 1 year ago • 2 comments

  • [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.

navaronbracke avatar May 06 '24 14:05 navaronbracke

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.

xunreal75 avatar May 08 '24 05:05 xunreal75

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)

navaronbracke avatar May 08 '24 07:05 navaronbracke