All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
3.1.19 (2024-02-06)
- android: set default encoding to prevent errors (4ee622f)
3.1.18 (2024-01-11)
- android: location permission was always returned granted (e3625f5)
- android: make it clearer how to use permissions in the doc. Also code changed a bit to reflect that. NOW YOU NEED TO DEFINE PERMISSIONS IN YOUR MANIFEST. The plugin wont do it anymore to not add unecessary permissions (63b8750)
3.1.17 (2023-11-17)
- android: error wile sending array to char (6ffa83f)
3.1.16 (2023-11-08)
- export BluetoothError and improve BluetoothError logging (adff148)
- user @nativescript-community/perms (6a66786)
3.1.15 (2023-02-07)
- ensure we always work with lowercase UUIDs so that callbacks always work correctly (313d3c0)
3.1.14 (2023-01-24)
- android: native-api-usage fix (c3d5f07)
3.1.13 (2023-01-23)
- android: improved native-api-usage (df7431d)
- android: more native-api-usage fixes (6c48bb6)
- android: more native-api-usage improvements (c1f6519)
3.1.12 (2023-01-08)
- android: onCharacteristicRead deprecated (9acfe2a)
- refactoring to handle deprecated methods on android 13 (10bb8ec)
3.1.11 (2022-11-27)
- android: prevent errors (fdf6355)
3.1.10 (2022-10-24)
Note: Version bump only for package @nativescript-community/ble
3.1.9 (2022-10-24)
- android: crash in
onConnectionStateChange
(0310f00)
3.1.8 (2022-05-15)
- android: refactoring using @nativescript-community/arraybuffers (ae5683b)
3.1.7 (2022-05-10)
- android: android priority connect parameter (16fdcc2)
3.1.6 (2022-02-18)
avoidDuplicates
option onstartScanning
method (25dba13)
3.1.5 (2022-01-20)
- ios: trying to fix
serviceUUIDs
(84cbf7f)
3.1.4 (2022-01-20)
- ios:
connect
serviceUUIDs
fix (b467e7d)
3.1.3 (2022-01-20)
Note: Version bump only for package @nativescript-community/ble
3.1.2 (2022-01-18)
readRssi
(016135b)
3.1.1 (2022-01-15)
- android: missing native-api-usage (d417bbb)
3.1.0 (2022-01-15)
- isConnected should not throw if device is not connected but return false (49fe431)
- android: native-api-usage (41911d0)
- alternative to
discoverAll
:serviceUUIDs
. Will discover only those services and no chars(faster) (c39dd3b)
3.0.34 (2022-01-15)
- export
BleTraceCategory
(cb5c7d7)
3.0.33 (2021-12-10)
3.0.32 (2021-12-09)
- revert 1028c15c707cb0409eac64e15ccc2b84cb0c4f42 as it broken users workflow (513953d)
3.0.31 (2021-12-01)
- android: correctly update device state on disconnect (8c67892)
3.0.30 (2021-11-30)
- android: isConnected wrong state after disconnection (a038f1b)
- android: Notification streams are now properly disabled when stop requested. (b4afb5a)
- ios: Ensure the Central Manager is created prior to waiting for the bluetooth_status_event. (999616f)
- android: corrects Promise handling and introduces the ability to disable the plugin queue. (1028c15)
- ios: explicitly allow restoreIdentifer = null to disable restoring. (9beb319)
3.0.29 (2021-07-09)
- android: default transport revert to TRANSPORT_LE (0087a8d)
3.0.28 (2021-07-09)
- android: connect transport set to TRANSPORT_AUTO. Allow to pass custom one (2285aa1)
3.0.27 (2021-07-09)
- android: refreshDeviceCache fix (7ece4ff)
3.0.26 (2021-07-04)
- android: register notifyCallback earlier and optimistically (b79f475)
- android: new clearCache option for discoverServices (2a1066d)
3.0.25 (2021-06-03)
- ios: try to fix build errors on iOS (caused by exported native class) (63f8fb3)
3.0.24 (2021-05-27)
Note: Version bump only for package @nativescript-community/ble
3.0.23 (2021-05-27)
Note: Version bump only for package @nativescript-community/ble
3.0.22 (2021-05-27)
- timeout for read / write (ff3bbc8)
3.0.21 (2021-05-18)
3.0.20 (2021-05-12)
- rollback p-queue version to fix build (ee5bdb0)
3.0.19 (2021-05-06)
- updated deps (563147a)
3.0.18 (2021-05-06)
- ios: fix for wrong first isEnabled state (7076cc0)
3.0.17 (2021-05-04)
- add acces to native device (58b92cf)
3.0.16 (2021-03-24)
- typings fix (0a3afc0)
- android: 2m phy selection is now only attempted if isLe2MPhySupported is true. (8124923)
3.0.15 (2021-02-18)
- android: autoDiscoverAll was broken in last version (dda3876)
- ios: correctly query mtu on connection (6b1a8f8)
3.0.14 (2021-02-12)
- android: Disconnect listeners now only accept disconnect events from matching devices. (213e7e4)
- android: Connections can now be made with 2M PHY and Max MTU. Also removes code duplication by introducing attachSubDelegate. (e7dee52)
3.0.13 (2020-12-14)
- android: fix ble not working after disconnexion during write (f038cb0)
3.0.12 (2020-11-23)
Note: Version bump only for package @nativescript-community/ble
3.0.11 (2020-11-23)
Note: Version bump only for package @nativescript-community/ble
3.0.10 (2020-11-22)
Note: Version bump only for package @nativescript-community/ble
3.0.9 (2020-11-17)
- ios fix serviceUUIDs not reported correctly (6a55b6d)
3.0.8 (2020-11-06)
- wrong encoding fix (15d5ee3)
3.0.7 (2020-11-05)
Note: Version bump only for package @nativescript-community/ble
3.0.6 (2020-11-02)
Note: Version bump only for package @nativescript-community/ble
3.0.5 (2020-11-02)
- android fix for null owner (44d0c03)
3.0.4 (2020-10-07)
3.0.3 (2020-09-16)
3.0.2 (2020-09-10)
Note: Version bump only for package @nativescript-community/ble
3.0.1 (2020-09-01)
- ios: fixed wrong format for valueToString (d4b3004)
- ios: read was not working for notifying chars (e3fc4f0)
- any gatt queue promise need to reject on device disconnection (d7c6834)
- call device.disconnect to get the status change event (658907d)
- crash on pre lollipop (dd2623c)
- dont clear adv data automatically, will create side errors (65d3fe6)
- fixed edge cases for android. needs more refactoring (aa0b152)
- fixed ios requestMtu (05209d6)
- ios disconnect method was deleted onDisconnected callback from connect (9427be6)
- missing export (fd96ff9)
- missing localName and manufacturerId from connect event (a3eeb4d)
- throw Error and not a string (77b2e75)
- requestMtu for iOS (665ef11)
- update package.json to allow webpack bundling (ef9ec29)