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().
I am using the
thermal_printer
package in Flutter to connect to a Bluetooth printer. When I call thedisconnect()
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()
.