Skip to content

Releases: dotintent/react-native-ble-plx

v3.5.1

Choose a tag to compare

@aliberski aliberski released this 18 Feb 20:29

What's Changed

  • Guard to avoid Service.getDeviceID()' on a null object reference (#1142) and cleanServicesAndCharacteristicsForDevice outOfBounds (#1144) crashes by @angelos3lex in #1290
  • Update README.md by @fschoenfeldt in #1320
  • fix(android): Prevents Promise.reject crash with null arguments by @aliberski in #1329

Full Changelog: v3.5.0...v3.5.1

Release 3.5.0

Choose a tag to compare

@aliberski aliberski released this 11 Feb 18:07

3.5.0 (2025-02-11)

Bug Fixes

  • avoid passing subscriptionType param to characteristic methods on iOS (a155f10)
  • return serviceUUIDs from discoverAllServicesAndCharacteristicsForDevice (2f5a54b)
  • version bump (c746479)

Features

  • add subscriptionType param to monitor characteristic methods (7b5e0f5)

3.4.0

Choose a tag to compare

@aliberski aliberski released this 08 Jan 13:58

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

Choose a tag to compare

@intent-kacper-cyranowski intent-kacper-cyranowski released this 09 Jul 16:21

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

Choose a tag to compare

@dominik-czupryna-withintent dominik-czupryna-withintent released this 31 May 08:05
8893a5e

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

Choose a tag to compare

@dominik-czupryna-withintent dominik-czupryna-withintent released this 30 Nov 14:35

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

Choose a tag to compare

@dominik-czupryna-withintent dominik-czupryna-withintent released this 27 Oct 11:19
baf25a9
  • Fixed expo config plugin for prebuilding

3.1.0

Choose a tag to compare

@dominik-czupryna-withintent dominik-czupryna-withintent released this 17 Oct 12:51
7332af5

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

Choose a tag to compare

@dominik-czupryna-withintent dominik-czupryna-withintent released this 28 Sep 15:22

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

Choose a tag to compare

@srgtuszy srgtuszy released this 04 Nov 11:58
70a254f
  • Xcode 13 support
  • Updated MultiPlatformBleAdapter