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

App crashes after manually disable a permission

Open themmfa opened this issue 3 years ago • 3 comments

🐛 Bug Report

I'm trying to test a new app and requesting location permission for it. After requesting and allowing the location permission, when i manually deny the location permission on app settings, app crashes.

Expected behavior

It should not crash when i manually deny the location permission.

Reproduction steps

1- Request location permission 2- Allow permission 3- Manually go to app settings and deny the location permission 4- App crashes.

Configuration

Version: ^8.3.0

Platform:

  • [ ] :iphone: iOS
  • [ x ] :robot: Android

themmfa avatar Jan 21 '22 06:01 themmfa

same on iOS but also, if i manually allow permissions in the settings after I denied them in the app

schnphil avatar Mar 30 '22 09:03 schnphil

same on iOS but also, if i manually allow permissions in the settings after I denied them in the app

I don't know if your problem is same as mine but running code in debug mode crashes the app. If you run it in release mode, everything works as usual.

themmfa avatar Mar 30 '22 11:03 themmfa

UP on this issue, I have the same one and it's really problematic

Yukams avatar May 16 '22 11:05 Yukams

Dear @themmfa,

It is not crashing in the example app. Do you have the crashlog for me?

Kind regards,

TimHoogstrate avatar Aug 23 '23 13:08 TimHoogstrate

Without additional information, we are unfortunately not able to resolve this issue. Therefore, we reluctantly closed this issue for now. If you run into this issue later, feel free to file a new issue with a reference to this issue. Add a description of detailed steps to reproduce, expected and current behaviour, logs and the output of 'flutter doctor -v'. Thanks for your contribution.

github-actions[bot] avatar Sep 06 '23 18:09 github-actions[bot]