Baseflow / Baseflow/flutter-permission-handler

[Question]: permissions in realtime

Open
#1,374 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Dart
Stars
2.2k
Forks
970
Avg merge
14h 22m
Merged PRs (30d)
2

Description

### Please check the following before submitting a new issue.

- [X] I have searched the [existing issues](https://github.com/baseflow/flutter-permission-handler/issues).
- [X] I have carefully [read the documentation](https://github.com/baseflow/flutter-permission-handler/blob/main/permission_handler/README.md).

### Please select for which platform(s) you need help

- [X] Android
- [X] iOS
- [ ] Windows

### Your question

I need to track the changes on permissions.

The openAppSettings function returns a boolean, but using Permission.location.onDeniedCallback and the other callbacks does not seem to achieve this goal.

I have read the solution based on WidgetsBindingObserver and it obviously work but it seems a workaround.

Is there a more direct way to detect changes in the permission state based only on permission_handler package?

### Version

11.3.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.