The current implementation does not handle smartcube disconnects very well. For example, a disconnect can be forced via turning off the Bluetooth on the device, but the app will not update the UI and will only through lots of BleErrors when trying to read face rotations.
We'd prefer for all disconnects to be handled gracefully, and to easily allow the user to attempt to reconnect to the device without restarting the app.
We may need to add a custom wrapper for monitors to catch BleErrors and only propagate them when necessary.
The current implementation does not handle smartcube disconnects very well. For example, a disconnect can be forced via turning off the Bluetooth on the device, but the app will not update the UI and will only through lots of
BleError
s when trying to read face rotations.We'd prefer for all disconnects to be handled gracefully, and to easily allow the user to attempt to reconnect to the device without restarting the app.
We may need to add a custom wrapper for monitors to catch BleErrors and only propagate them when necessary.