Skip to content

Commit

Permalink
Adds iOS privacy manifest. (#1291)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanbeusekom committed Mar 18, 2024
1 parent 842761c commit 3be556e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
4 changes: 4 additions & 0 deletions permission_handler_apple/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
14 changes: 14 additions & 0 deletions permission_handler_apple/ios/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyTracking</key>
<false/>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion permission_handler_apple/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3be556e

Please sign in to comment.