From 3be556e67d52f73b1c072ad2334cd9b64196737f Mon Sep 17 00:00:00 2001 From: Maurits van Beusekom Date: Mon, 18 Mar 2024 09:15:57 +0100 Subject: [PATCH] Adds iOS privacy manifest. (#1291) --- permission_handler_apple/CHANGELOG.md | 4 ++++ .../ios/Resources/PrivacyInfo.xcprivacy | 14 ++++++++++++++ .../ios/permission_handler_apple.podspec | 1 + permission_handler_apple/pubspec.yaml | 2 +- 4 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 permission_handler_apple/ios/Resources/PrivacyInfo.xcprivacy diff --git a/permission_handler_apple/CHANGELOG.md b/permission_handler_apple/CHANGELOG.md index 1f865286f..eae094345 100644 --- a/permission_handler_apple/CHANGELOG.md +++ b/permission_handler_apple/CHANGELOG.md @@ -1,3 +1,7 @@ +## 9.4.1 + +* Adds privacy manifest. + ## 9.4.0 * Adds a new permission `Permission.backgroundRefresh` to check the background refresh permission status. diff --git a/permission_handler_apple/ios/Resources/PrivacyInfo.xcprivacy b/permission_handler_apple/ios/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 000000000..aac0f74c2 --- /dev/null +++ b/permission_handler_apple/ios/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyTrackingDomains + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + + diff --git a/permission_handler_apple/ios/permission_handler_apple.podspec b/permission_handler_apple/ios/permission_handler_apple.podspec index c9708d614..81210cb8a 100644 --- a/permission_handler_apple/ios/permission_handler_apple.podspec +++ b/permission_handler_apple/ios/permission_handler_apple.podspec @@ -18,5 +18,6 @@ Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Andro s.ios.deployment_target = '8.0' s.static_framework = true + s.resource_bundles = {'permission_handler_apple_privacy' => ['Resources/PrivacyInfo.xcprivacy']} end diff --git a/permission_handler_apple/pubspec.yaml b/permission_handler_apple/pubspec.yaml index 68f1cdaff..0308ae908 100644 --- a/permission_handler_apple/pubspec.yaml +++ b/permission_handler_apple/pubspec.yaml @@ -2,7 +2,7 @@ name: permission_handler_apple description: Permission plugin for Flutter. This plugin provides the iOS API to request and check permissions. repository: https://github.com/baseflow/flutter-permission-handler issue_tracker: https://github.com/Baseflow/flutter-permission-handler/issues -version: 9.4.0 +version: 9.4.1 environment: