flutter-permission-handler
flutter-permission-handler copied to clipboard
[Bug]: Debug App crashes when permission has changed
Please check the following before submitting a new issue.
- [X] I have searched the existing issues.
- [X] I have carefully read the documentation and verified I have added the required platform specific configuration.
Please select affected platform(s)
- [X] Android
- [ ] iOS
- [ ] Windows
Steps to reproduce
In debug app: When permission "X" is active, change it to inactive and then the app breaks. In the console, ADB returns "Lost connection to device" and exits debug mode.
Expected results
It is hoped that the debug will not break, or at least return some type of error
Actual results
Debug App crashes
Code sample
Code sample
[Paste your code here]
Screenshots or video
adb logcat:
Version
11.3.1
Flutter Doctor output
Doctor output

This happens in iOS as well.