All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
6.0.2 (2024-11-03)
6.0.1 (2024-07-22)
6.0.0 (2024-05-04)
- update plugin to Capacitor 6
- update plugin to Capacitor 6 (619d342)
6.0.0-0 (2024-02-11)
- update plugin to Capacitor 6
- update plugin to Capacitor 6 (0475e85)
- fix addListener return types (fc94069)
3.1.4 (2024-04-06)
- ios: make callback map thread-safe to fix high write and notify rates #630 (#642) (da9b782)
- respect byte offset and length of data view in write call (#641) (0f01960)
3.1.3 (2024-04-06)
3.1.2 (2024-02-18)
3.1.1 (2023-11-05)
3.1.0 (2023-11-02)
3.0.2 (2023-10-03)
- android: added timeout on Device#createBond (#573) (48f664f)
- android: use new methods from API level 33 (9798e0f)
- android: use new writeCharacteristic method for API Level >= 33 (#562) (cb74440)
3.0.1 (2023-08-14)
3.0.0 (2023-05-07)
- update plugin to Capacitor 5 final (210f9aa)
3.0.0-1 (2023-04-15)
3.0.0-0 (2023-04-15)
- remove deprecated getEnabled, use isEnabled instead
- update plugin to Capacitor 5
- update plugin to Capacitor 5 (16822ac)
- remove deprecated getEnabled, use isEnabled instead (8773995)
- validate deviceIds argument of getDevices (8cedd65)
2.2.3 (2023-04-15)
2.2.2 (2023-04-15)
2.2.1 (2023-04-08)
- ios: fix conversion of descriptor value (1881b9d)
- ios: fix getDevices and getConnectedDevices to not stop existing notifications (565ce8c)
- web: filter getDevices result according to deviceIds parameter (652f33f)
2.2.0 (2023-04-02)
- android: fix requestDevice and requestLEScan when BLE adaptor is off in some Android devices (d1739f5)
- validate services argument in getConnectedDevices function (98f663d)
2.1.0 (2023-01-02)
- add discoverServices method (0239f3d)
- refactor Android logging (321a823)
- refactor iOS logging (e215836)
- logging now respects
loggingBehavior
from Capacitor config - validate service UUIDs in requestDevice and requestLEScan calls (ad10fe8)
2.0.1 (2022-10-09)
- android: handle immediate enable/disable problems (a48082d)
2.0.0 (2022-08-07)
2.0.0-0 (2022-07-29)
- update plugin to Capacitor 4
- update plugin to Capacitor 4 (88f038a)
1.8.3 (2022-07-17)
1.8.2 (2022-05-01)
- android: close bluetooth gatt in case of connection timeout (961d8a2)
1.8.1 (2022-04-15)
1.8.0 (2022-02-27)
1.7.0 (2022-01-22)
- inline source code in esm map files of plugin (8ffb1ff)
1.6.1 (2022-01-02)
1.6.0 (2021-11-14)
- all: add methods to read/write descriptors (#236) (ea9dae3)
- all: make connect timeout configurable (#242) (2364c39)
- android: implement openAppSettings for android (#241) (29abb16)
- ios: fix conversion of CBUUID of length 8 (c02e3f7)
1.5.0 (2021-10-02)
- android: add enable and disable methods (53f1b3d)
- android: add new methods isLocationEnabled, openLocationSettings and openBluetoothSettings (4c1cc60)
- ios: add openAppSettings method (f57fac7)
1.4.0 (2021-09-24)
1.3.1 (2021-09-22)
- ios: fix service being nullable in new CBCharacteristic (xcode 13) (#197) (469c6eb), closes #196 #196
1.3.0 (2021-08-27)
- android, ios: add readRssi method to read RSSI value of a connected device (4b3fc05)
- ios: fix callback key in case of optional CBUUID (d8b54ac)
1.2.0 (2021-08-21)
- all: add getDevices and getConnectedDevices (768745c)
- fix type of ScanResult (0b1ccfe)
- properly remove event listeners when stopping notifications (145ec13)
- web: fix availability check (965ff3d)
1.1.3 (2021-08-05)
- allow uppercase UUIDs and validate format (14f654e)
1.1.2 (2021-07-03)
- android: set transport for GATT connections to remote dual-mode devices to BLE, closes #138 (a321aab)
- web: use writeValueWithResponse instead of deprecated writeValue (85f1afe)
1.1.1 (2021-06-11)
- reject write call when value contains invalid data (24e0c7a)
1.1.0 (2021-06-05)
- android: handle ConcurrentModificationException in notifyListeners (12925e0)
1.0.0 (2021-05-23)
- release for Capacitor 3.0
- android: explicitly set looper for handlers (4ebe4fe)
- android: use AlertDialog from android.app instead of androidx.appcompat.app (9c4bbeb)
1.0.0-4 (2021-04-10)
- android: add createBond and isBonded (40e8d3f)
- android: do not crash when using startNotifications on characteristic that does not support notifications (fd4c7f8)
- android: do not reject disconnect call when already disconnected (63808ef)
- ios: do not reject disconnect call when already disconnected (f488140)
0.6.0 (2021-04-10)
- android: add createBond and isBonded (c9e8688)
- android: do not crash when using startNotifications on characteristic that does not support notifications (44bc318)
- android: do not reject disconnect call when already disconnected (82c3e6e)
- ios: do not reject disconnect call when already disconnected (e6873e6)
1.0.0-3 (2021-03-21)
- deps: fix throat dependency (e60a17d)
0.5.1 (2021-03-21)
- deps: fix throat dependency (833761d)
1.0.0-2 (2021-03-20)
- add queue to BleClient (b763247)
- do not connect after connection timeout (#80) (5b9e021)
- android: close bluetoothGatt on every disconnection (a0aaeef)
- android: wait for onDescriptorWrite when setting notifications (06d05bc)
0.5.0 (2021-03-20)
- add queue to BleClient (90c1258)
- do not connect after connection timeout (#80) (5d5cb42)
- android: close bluetoothGatt on every disconnection (b290a06)
- android: wait for onDescriptorWrite when setting notifications (9ee5592)
1.0.0-1 (2021-03-14)
- add localName to scanResult (56627e3)
- ios: reject initialize call when Bluetooth permission is denied (58232f5)
0.4.0 (2021-03-14)
- add localName to scanResult (483ee0e)
- android: always add txPower to scanResult (7943cc8)
- ios: reject initialize call when Bluetooth permission is denied (b5bb292)
1.0.0-0 (2021-03-07)
- android: always add txPower to scanResult (7943cc8)
0.3.0 (2021-02-27)
0.2.0 (2021-02-13)
- add optional onDisconnect callback to connect method (1eefe64)
- implement getEnabled and enabled notifications (319098f)
initialize
will no longer reject when BLE is disabled, usegetEnabled
to check whether BLE is enabled or not
0.1.2 (2021-01-23)
- definitions: fix typo in definitions (#26) (1cd93f6)
- web: use getPlatform instead of platform (dac82e4)
- use commonjs output as main entry point (#14)
- add requestLEScan
- add stopLEScan
- add Android scan mode
- add namePrefix filter
- fix getting some events twice
- fix invalid deviceId on Android
- fix device initialization on iOS
- fix dependencies
- update readme and add code of conduct and contributing
- initial release