flutter-permission-handler
flutter-permission-handler copied to clipboard
Support NSPhotoLibraryAddUsageDescription permission
🚀 Feature Requests
It would be great to have the NSPhotoLibraryAddUsageDescription permission included (i.e permission for saving photos only - available on ios 11+). Currently we can only leverage the NSPhotoLibraryUsageDescription which is applicable for read & write permission, that would be too broad permission for those who like to only save to library.
Contextualize the feature
Describe the feature
Platforms affected (mark all that apply)
- [V] :iphone: iOS
That permission is already present in the code, it's just not mentioned in the README.
Its in permission_handler_platform_interface/lib/src/permissions.dart
.
/// Permission for adding photos to the device's photo library (iOS only).
///
/// Photos can only be added. If you want to read them as well, use the
/// [photos] permission instead.
///
/// iOS: Photos (14+ read & write access level)
static const photosAddOnly = Permission._(10);
The PR is merged. I'll close this issue for now. Feel free to reopen or file a new issue with new information.
Kind regards,