All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
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