1.0.0
Breaking changes
- Moved to Gradle plugin 3.1.4 and Gradle wrapper to 4.4 (RN 57+ required) on Android.
Other:
- Added
requestConnectionPriority
function which increases or decreases connection interval setting on Android Lollipop devices or above. - Added
connectionPriority
option to connection options which calls above function just after the connection is established. - Added
scanMode
andcallbackType
properties to scan options for Android. - Added
enable
anddisable
functions to enable/disable Bluetooth on Android. - Added optional
transactionId
argument todiscoverAllServicesAndCharacteristicsForDevice
. - Added
errorCodesToMessagesMapping
property toBleManagerOptions
to be able to override custom BleError messages. - Updated
cancelDeviceConnection
documentation. - Don't call CBCentralManager's stopScan, when Bluetooth is powered off in internal implementation on iOS.
- Clean iOS compiler warnings on XCode10.
- Changed scan record logging from Debug to Verbose on iOS.
- Updated
writeWithoutResponse
implementation on iOS to usecanSendWriteWithoutResponse
if available starting from iOS 11. - Updated library's development dependencies.
- Fixed cyclic import warnings.
- Fixed notification/indication subscription moment. Events are monitored before CCC is written on Android.