Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Crash when permission changed manually

Flutter app crashes when user manually changing location perimssion from allow to deny. Is this a normal behavior ?, i've tried to change manually the permissions of other popular apps, they all restart and not crash. But my app after changing permission says Lost Connection to Device and thats it

like image 833
Razmik Gharibyan Avatar asked Mar 01 '26 05:03

Razmik Gharibyan


1 Answers

Actually this is a normal behavior on debugging mode , once you change app permission from settings it automatically kills the app and you have to re run it in order for the new settings to take effect for more info you can read this GitHub issue discussion https://github.com/Baseflow/flutter-permission-handler/issues/166

like image 154
Ahmed Adel Avatar answered Mar 03 '26 02:03

Ahmed Adel