You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i get ghost updates on the bluetoothprint.state status stream , even though the printer is connected i get the status 0 i.e. disconnected update for a few seconds only to set back to connected a few seconds later
switch (state) {
case BluetoothPrint.CONNECTED:
// i treat this state as connected
break;
case BluetoothPrint.DISCONNECTED:
// i treat this state as disconnected
break;
case 12:
// wierdly this fires whenever bluetooth radio is turned on
break;
case 10:
// fires when bluetooth radio is turned off
default:
break;
}
The text was updated successfully, but these errors were encountered:
i get ghost updates on the bluetoothprint.state status stream , even though the printer is connected i get the status 0 i.e. disconnected update for a few seconds only to set back to connected a few seconds later
bluetoothStatusStream = bluetoothPrint.state.listen((state) async {
The text was updated successfully, but these errors were encountered: