Skip to content

Releases: dotintent/react-native-ble-plx

3.4.0

08 Jan 13:58
Compare
Choose a tag to compare

Changed

  • internal _manager property isn't enumerable anymore. This change will hide it from the console.log, JSON.stringify and other similar methods.
  • BleManager is 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, where BleManager is created once and used across the a

Fixed

  • expo deleted from dependencies

3.2.1

09 Jul 16:21
Compare
Choose a tag to compare

Changed

  • reverted methods from arrow functions to regular functions to avoid issues with this context
  • improved react native fast refresh support on android

Fixed

  • Example app xcode node path issue

3.2.0

31 May 08:05
8893a5e
Compare
Choose a tag to compare

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

30 Nov 14:35
Compare
Choose a tag to compare

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

27 Oct 11:19
baf25a9
Compare
Choose a tag to compare
  • Fixed expo config plugin for prebuilding

3.1.0

17 Oct 12:51
7332af5
Compare
Choose a tag to compare

Added

  • Handling Bluetooth 5 Advertising Extensions on Android by legacyScan flag
  • isConnectable flag for android devices
  • Expo config plugin for prebuilding

Changed

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

28 Sep 15:22
Compare
Choose a tag to compare

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

2.0.3

04 Nov 11:58
70a254f
Compare
Choose a tag to compare
  • Xcode 13 support
  • Updated MultiPlatformBleAdapter

2.0.2

23 Nov 12:47
5f12bf3
Compare
Choose a tag to compare
  • Updated MultiplatformBleAdapter to version 0.1.7.
  • Added support for BleMulator
  • Removed destroying of client upon catalystInstanceDestroy.
  • Updated CI to RN 0.63.3

2.0.1

30 Jun 10:56
c4fef4c
Compare
Choose a tag to compare
  • Fixed onDisconnected() callback on Android
  • Fixed possibility of wrong characteristics being used on Android if they shared the same UUID