diff --git a/flutter_local_notifications/CHANGELOG.md b/flutter_local_notifications/CHANGELOG.md index 95188665c..0d26a20b9 100644 --- a/flutter_local_notifications/CHANGELOG.md +++ b/flutter_local_notifications/CHANGELOG.md @@ -16,6 +16,10 @@ * Fixed example app to have the appropriate permissions for foreground services * Updated readme when it comes to setting up the `AndroidManifest.xml` file to include details of what's needed for foreground services. Note these details were already available in the API docs +## [17.2.4] + +* [macOS] added privacy manifest file + ## [17.2.3] * [Android] fixed [#2309](https://github.com/MaikuB/flutter_local_notifications/issues/2309) where plugin runs into an exception getting the sound information for a notification channel. Thanks to the PR from [Goddchen](https://github.com/Goddchen) diff --git a/flutter_local_notifications/macos/Resources/PrivacyInfo.xcprivacy b/flutter_local_notifications/macos/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 000000000..6cec76625 --- /dev/null +++ b/flutter_local_notifications/macos/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,23 @@ + + + + + NSPrivacyTrackingDomains + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + + \ No newline at end of file diff --git a/flutter_local_notifications/macos/flutter_local_notifications.podspec b/flutter_local_notifications/macos/flutter_local_notifications.podspec index 8f551fd8a..e92e0212c 100644 --- a/flutter_local_notifications/macos/flutter_local_notifications.podspec +++ b/flutter_local_notifications/macos/flutter_local_notifications.podspec @@ -18,5 +18,6 @@ Flutter plugin for displaying local notifications. s.platform = :osx, '10.14' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } + s.resource_bundles = {'flutter_local_notifications_privacy' => ['Resources/PrivacyInfo.xcprivacy']} s.swift_version = '5.0' end