RxBluetoothKotlin Versions Save

Bluetooth low energy reactive framework for Android written in Kotlin

3.2.1

2 years ago

Fix

  • LOCATION permissions no longer declare the property maxSdkVersion="30". We've removed this because it introduce regressions for apps which uses location for something else than Bluetooth

3.2.0

2 years ago

Feat

  • Support Android 12 permissions system

3.1.0

2 years ago

🚨 BREAKING CHANGES 🚨

  • This release is the first one to be pushed on mavenCentral(), according to the Maven Central policies, I must update my package package to match with the host domain I own. Unfortunately I only own masselis.com, so the package name RxBluetothKotlin were renamed from com.vincentmasselis.rxbluetoothkotlin to com.masselis.rxbluetoothkotlin, as consequence, you have to renamed EVERY import from rxbluetoothkotlin to the new package name.
  • This release also enabled the kotlin's mode "script api", which causes some on internal classes and methods to be no longer flagged as public. If your code rely on this classes or methods, it will not compile anymore.

3.0.0

3 years ago

Features

  • RxJava3 migration

1.3.1

4 years ago

Fix

  • Fixed the silent exception SCAN_FAILED_SCANNING_TOO_FREQUENTLY for SDK 27 devices (Oreo MR1)

1.3.0

4 years ago

This new version 1.3.0 introduce a big refactor of the way to handle disconnection and how they are handled by RxBluetoothGatt and RxBluetoothGatt.Callback. This change speeds up the runtime and make the source code far more readable. For theses reasons some of methods are no longer working as they used to.

Breaking changes !

  • Removed DeviceDisconnected with the status -1, starting from now the BluetoothIsTurnedOff exception is fired instead
  • connectRxGatt and connectTypeGatt have a new parameter connectGattWrapper. Replace the default implementation to decide, by yourself, which connectGatt method from the system API you want to use, autoConnect param doesn’t longer exists
  • callbackConstructor param name was replaced by rxCallbackBuilder
  • rxGattConstructor param name was replaced by rxGattBuilder
  • GattDeviceDisconnected was removed because this throwable wasn’t thrown anywhere
  • RxBluetoothGatt.Callback is now an interface instead of an abstract class
  • RxBluetoothGatt.Callback doesn’t longer implements BluetoothGattCallback
  • RxBluetoothGatt.Callback has 2 new member source: BluetoothGattCallback and onReliableWriteCompleted (not used at this time) and 2 new methods livingConnection() and disconnection()
  • The parameter checkIfAlreadyWritten was removed from the method write(descriptor, value)

Misc

  • Full documentation was moved from the implementations to the interfaces RxBluetoothGatt and RxBluetoothGatt.Callback
  • API 29 code reflection compatibility

1.2.2

4 years ago

Fix

  • Android 10 compatibility

1.2.1

4 years ago

Fix

  • Fixed Enqueueing bugs

1.2.0

4 years ago

Breakings changes

  • disconnect is now a part of the RxBluetoohGatt interface

Chore

  • Refactored the way to save and detects disconnections to fix some of queueing bugs and dead chains

1.1.9

4 years ago

Fix

  • Set prefetch to 1 into the queue's concatMap

Chore

  • Updated RxJava 2 deps