Baseflow / Baseflow/flutter-permission-handler
[Feature request]: Add Enabled flag
- Dominant language
- Dart
- Stars
- 2.2k
- Forks
- 970
- Avg merge
- 14h 22m
- Merged PRs (30d)
- 2
Description
### Is there already an issue requesting this feature?
- [x] I have searched the [existing issues](https://github.com/baseflow/flutter-permission-handler/issues).
### Please select affected platform(s)
- [ ] Android
- [x] iOS
- [ ] Windows
### Use case
I've noticed that many people have issues with enabling the post installation flags to allow access to specific permissions.
It would therefor be nice, when a Permission check would respond in the console whether the flag is set or not.
### Proposal
Some ideas i have are:
- add the 'enabled' flag to the Permission as `Permission.isEnabled` or `Permission.enabled`.
- print to the console when a permission is requested but the `enabled` value is not set
- add `PermissionStatus.disabled` as another enum (least recommended)
### Specific requirements or considerations
_No response_
### Additional information or context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.