flutter_bluetooth_serial icon indicating copy to clipboard operation
flutter_bluetooth_serial copied to clipboard

How to listen disconnection from phone

Open yalew-cmd opened this issue 4 years ago • 1 comments
trafficstars

I have successfully able to listen when Bluetooth disconnected by the remote device. But I can't tackle when the phone Bluetooth is turned off. Please help me.

yalew-cmd avatar Apr 30 '21 10:04 yalew-cmd

You can put an onDone while listening the input, as per package comments:

image

ktnishide avatar Jun 24 '21 01:06 ktnishide