⚠️ Release candidate
This release is considered a release candidate because it contains a major internal refactor and should be tested thoroughly before being used in production.
Please report any issues.
🚀 Changes
The error propagation for Peripheral.connect()
has been improved: previously, during some edge-cases, connect()
would throw CancellationException
on failure rather than the underlying cause of the failure. connect()
should now only throw CancellationException
when explicitly cancelled by the calling code.
- Propagate failures from
connect
as failures rather than cancellation (#573, #572, #578, #579, #580) - Provide additional details to data processor (#538)
Android
- Throw
LocationManagerUnavailableException
whenLocationManager
is unavailable (#576) - Throw
GattRequestRejectedException
whensetCharacteristicNotification
fails (#575) - Add support for
autoConnect
(#563, #574), thanks to @ToysoftInc, @matsch82, and @JonatanPlesko for reporting/nudging this effort along - Use
SharedRepeatableAction
for managing connect process (#516), this is a step in fixing #378 — thanks to @tomnovotny7 for reporting #378 and @solvek for reporting related issue #567