SpeedcuberOSS / speedcuber-timer

The smart, offline-ready speedcubing Android/iOS app made for speedcubers, by speedcubers.
Mozilla Public License 2.0
3 stars 0 forks source link

bug: Handle Smartcube Disconnects #78

Closed thehale closed 9 months ago

thehale commented 1 year ago

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.

thehale commented 9 months ago

Fixed with a25a9f662f0c84de1dc4f64a7bf861b69bed2ec0