CodingDevs / thermal_printer

MIT License
10 stars 17 forks source link

Bluetooth state not changing after disconnect #11

Open parameshmamidisetti opened 7 months ago

parameshmamidisetti commented 7 months ago

I am using the thermal_printer package in Flutter to connect to a Bluetooth printer. When I call the disconnect() method, the Bluetooth state does not change from "connected" to "disconnected/none".

I have tested this on Android.

Expected behaviour:

The Bluetooth state should change to "disconnected/none" after calling disconnect().

**Actual behaviour

https://github.com/CodingDevs/thermal_printer/assets/76273679/18fc9780-b5c4-454a-8a0c-ad525373a352

:**

The Bluetooth state remains "connected" after calling disconnect().