Releases: dotintent/react-native-ble-plx
Releases Β· dotintent/react-native-ble-plx
Release 3.5.0
3.4.0
Changed
- internal
_managerproperty isn't enumerable anymore. This change will hide it from theconsole.log,JSON.stringifyand other similar methods. BleManageris now a singleton. It will be created only once and reused across the app. This change will allow users to declare instance in React tree (hooks and components). This change should not affect the existing codebase, whereBleManageris created once and used across the a
Fixed
expodeleted from dependencies
3.2.1
Changed
- reverted methods from arrow functions to regular functions to avoid issues with
thiscontext - improved react native fast refresh support on android
Fixed
- Example app xcode node path issue
3.2.0
Added
- Android Instance will be checked before calling its method, an error will be visible on the RN side
- Added information related to Android 14 to the documentation.
Changed
- Changed destroyClient, cancelTransaction, setLogLevel, startDeviceScan, stopDeviceScan calls to promises to allow error reporting if it occurs.
Fixed
- Fixed one of the functions calls that clean up the BLE instance after it is destroyed.
3.1.2
Added
- The rawScanRecord has been added to advertising data
Fixed
- The onDisconnected event is now dispatched
- The missing advertising data fields on iOS has been added
3.1.1
- Fixed expo config plugin for prebuilding
3.1.0
Added
- Handling Bluetooth 5 Advertising Extensions on Android by legacyScan flag
- isConnectable flag for android devices
- Expo config plugin for prebuilding
Changed
- Android permissions section in docs and readme
- Merged MultiPlatformBleAdapter (https://github.com/dotintent/MultiPlatformBleAdapter) with react-native-ble-plx repo
Fixed
- Application crash when multiple listeners were set to watch the disconnect action and the device was disconnected
- Handling wrong Bluetooth Address error on Android
3.0.0
Added
- Example project
Changed
- Updated MultiplatformBleAdapter to version 0.2.0.
- Updated RN bridge config
- Changed CI flow
- Updated CI to RN 0.72.x
- Updated docs
- Updated dependencies
Fixed
- iOS 16 bugs