fluttercommunity / flutter_workmanager

A Flutter plugin which allows you to execute code in the background on Android and iOS.
825 stars 247 forks source link

feat: Add privacy manifest #555

Open navaronbracke opened 1 month ago

navaronbracke commented 1 month ago

This PR adds a Privacy Manifest for iOS. It includes the Required Reason key for UserDefaults, as that is the only API that the package uses.

I declared reason CA92.1 as I don't think workmanager tasks go across App Groups.

See also: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api

Fixes #554

cc @ened