flutter-permission-handler icon indicating copy to clipboard operation
flutter-permission-handler copied to clipboard

[Bug]: Debug App crashes when permission has changed

Open rhernandez-itemsoft opened this issue 10 months ago • 1 comments

Please check the following before submitting a new issue.

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.

image

Expected results

It is hoped that the debug will not break, or at least return some type of error

Actual results

Debug App crashes image

Code sample

Code sample
[Paste your code here]

Screenshots or video

adb logcat:

image

Version

11.3.1

Flutter Doctor output

Doctor output
![image](https://github.com/Baseflow/flutter-permission-handler/assets/4327356/ab280ad2-5a77-4856-bcdb-2744858a8741)

rhernandez-itemsoft avatar Apr 01 '24 16:04 rhernandez-itemsoft

This happens in iOS as well.

Fairfieldfred avatar Aug 20 '24 21:08 Fairfieldfred