I am facing a strange bug as my title says.
I am using flutter_blue_plus.dart package on my project. When user request bluetooth permission, the program will redirect the page to Settings.
However, if I switch the bluetooth button on/off on system level settings, the program crashes and says Lost Connection to device. Anyone facing the same issue?
I checked several projects on github which have the similar functionalities, all of them get crashed. Even if I initialize the project, and then switches system level bluetooth without touch any bluetooth functionality.