Commit 669aff85 by Christian Navolskyi Committed by GitHub

Add `photosAddOnly` setup for iOS to Podfile in README (#1254)

* Added comment in Podfile for NSPhotoLibraryAddUsageDescription

* fix photosAddOnly key for info.plist

* Added new versions

* Update permission_handler/CHANGELOG.md

* Update permission_handler/CHANGELOG.md

* Update permission_handler_apple/CHANGELOG.md

* Update permission_handler_apple/CHANGELOG.md

---------

Co-authored-by: tim Hoogstrate <tim566@hotmail.com>
Co-authored-by: Maurits van Beusekom <maurits@baseflow.com>
Co-authored-by: Maurits van Beusekom <maurits@vnbskm.nl>
parent ab441e1f
## 11.2.1
* Adds `PermissionGroup.photosAddOnly` to the README.
## 11.2.0
* Adds the `Permission.assistant` which allows users to request permissions to access SiriKit on iOS and macOS platforms. This is a no-op on all other platforms.
......
......@@ -107,6 +107,9 @@ You must list the permission you want to use in your application:
## dart: PermissionGroup.photos
# 'PERMISSION_PHOTOS=1',
## dart: PermissionGroup.photosAddOnly
# 'PERMISSION_PHOTOS_ADD_ONLY=1',
## dart: [PermissionGroup.location, PermissionGroup.locationAlways, PermissionGroup.locationWhenInUse]
# 'PERMISSION_LOCATION=1',
......@@ -157,6 +160,7 @@ You must list the permission you want to use in your application:
| PermissionGroup.microphone | NSMicrophoneUsageDescription | PERMISSION_MICROPHONE |
| PermissionGroup.speech | NSSpeechRecognitionUsageDescription | PERMISSION_SPEECH_RECOGNIZER |
| PermissionGroup.photos | NSPhotoLibraryUsageDescription | PERMISSION_PHOTOS |
| PermissionGroup.photosAddOnly | NSPhotoLibraryAddUsageDescription | PERMISSION_PHOTOS_ADD_ONLY |
| PermissionGroup.location, PermissionGroup.locationAlways, PermissionGroup.locationWhenInUse | NSLocationUsageDescription, NSLocationAlwaysAndWhenInUseUsageDescription, NSLocationWhenInUseUsageDescription | PERMISSION_LOCATION |
| PermissionGroup.notification | PermissionGroupNotification | PERMISSION_NOTIFICATIONS |
| PermissionGroup.mediaLibrary | NSAppleMusicUsageDescription, kTCCServiceMedia
......
......@@ -2,7 +2,8 @@ name: permission_handler
description: Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) 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: 11.2.0
version: 11.2.1
environment:
sdk: ">=2.15.0 <4.0.0"
......
## 9.3.1
* Updates plist key from `NSPhotoLibraryUsageDescription` to `NSPhotoLibraryAddUsageDescription`.
## 9.3.0
* Adds support to request authorization to access SiriKit via the `Permission.assistant` permission.
......
......@@ -55,7 +55,7 @@
#endif
// ios: PermissionGroupPhotosAddOnly
// Info.plist: NSPhotoLibraryUsageDescription
// Info.plist: NSPhotoLibraryAddUsageDescription
// dart: PermissionGroup.photosAddOnly
#ifndef PERMISSION_PHOTOS_ADD_ONLY
#define PERMISSION_PHOTOS_ADD_ONLY 0
......
......@@ -2,7 +2,8 @@ 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.3.0
version: 9.3.1
environment:
sdk: ">=2.15.0 <4.0.0"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment