⚠️ observe
bug
0.9.0
introduced a bug in observations on all platforms, preventing them from being created except during the Connecting.Observes
state. This bug is fixed on Android in 0.9.1
, and all platforms in 0.9.2
.
Platform | Peripheral.observe status
|
---|---|
Android | ⚠️ Broken |
Apple | ⚠️ Broken |
JavaScript | ⚠️ Broken |
Changes
- Add
Connecting
sub-states; delay Connected state until ready (#153), thanks to @francismariano for reporting the issue
Peripheral connection states have been updated, the Connecting
State is now split into the following sub-states:
Connecting.Bluetooth
Connecting.Sevices
Connecting.Observes
See State.kt
for additional info on these states. Note that Connected
is now emitted after Peripheral has gone through these 3 steps. (Connecting.Services
is the timeline-equivalent of pre-0.9.0
's Connected
).