Baseflow / Baseflow/flutter-permission-handler
Allow requesting "photosAddOnly" permission and "photos" independently
- Dominant language
- Dart
- Stars
- 2.2k
- Forks
- 970
- Avg merge
- 14h 22m
- Merged PRs (30d)
- 2
Description
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
Contributor guide
Assessment
This issue has not been assessed yet.