flutter-permission-handler
flutter-permission-handler copied to clipboard
Allow requesting "photosAddOnly" permission and "photos" independently
Allow requesting "photosAddOnly" permission and "photos" independently
Today you cannot setup an app to request for "photosAddOnly" and later in the same session as for "photos" permission. This is due to how strategies are configured: https://github.com/Baseflow/flutter-permission-handler/blob/master/permission_handler/ios/Classes/PermissionManager.m#L114 vs https://github.com/Baseflow/flutter-permission-handler/blob/master/permission_handler/ios/Classes/PermissionManager.m#L120
Only one setting in allowed to be passed here.
Instead of this permission being set at configuration-time, it should be able to be passed at runtime so that both permissions can be requested independently
Platforms affected (mark all that apply)
- [x] :iphone: iOS
This is indeed the case. I've checked it but I'm not sure if we have a solution for it. I'll label this as an enhancement.
Kind regards,