Unclaimed project
Are you a maintainer of BleGattCoroutines? Claim this project to take control of your public changelog and roadmap.
Changelog
Functional Bluetooth GATT for Android (all the meanings)
BleGattCoroutines was using Deprecated kotlinx.coroutines APIs.
Since this release, it is no longer the case, the library moved to shared flows to replace BroadcastChannel usages.
The APIs that were returning a ReceiveChannel have been deprecated in favor of new APIs that return a Flow instead.
We added ReplaceWith clauses, so Android Studio can do the replacements for you.
Previously, if you were using the openNotificationSubscription and the device got disconnected before the channel gets closed, the app would crash when the channel is closed.
The openNotificationSubscription has been deprecated, delegating to its replacement, notifications, which will no longer crash the app in an unrecoverable way, throwing against the Flow collector instead, so that you can catch it if disconnection happens.
See the issue #58 for details.