fluttercommunity / flutter_workmanager

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

feat: Add privacy manifest #555

Open navaronbracke opened 6 months ago

navaronbracke commented 6 months 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