Skip to content

Latest commit

 

History

History
246 lines (185 loc) · 11.9 KB

CHANGELOG.md

File metadata and controls

246 lines (185 loc) · 11.9 KB

6.3.1 - 2021-04-07

  • Fix #retrieveConnected() for Android, Dual Type devices are no longer filtered out. #559

6.3.0 - 2021-02-19

  • Add #retrievePeripheralsByAddress() for iOS and OSX

6.2.2 - 2021-02-19

  • Remove ACCESS_BACKGROUND_LOCATION permission. Revert changes from v6.1.1. This should be added manually if background permissions are actually needed

6.2.1 - 2021-02-05

  • Update types for NotifyParams

6.2.0 - 2020-12-23

  • Add #setPin() method for Android

6.1.1 - 2020-12-04

  • Add ACCESS_BACKGROUND_LOCATION permission to fix issue with Android target SDK 29

6.1.0 - 2020-11-07

  • Allow specifying transport mode for Android

6.0.2 - 2020-10-10

  • Add name when advertising

6.0.1 - 2020-09-19

  • Force re-discovery when clearCache => true. #634

6.0.0 - 2020-08-19

  • Fix ordering issue with notifications
  • Potential breaking change - Verify #subscribe() behavior closely!

5.0.2 - 2020-08-05

  • Update cordovaDependencies to allow install #632

5.0.1 - 2020-07-31

  • Reset isAdvertising flag when Bluetooth resets #302

5.0.0 - 2020-07-21

  • Improves writeQ performance #617
  • Potentially breaking change, thus the version bump:
    • iOS 10 required
    • writeQ returns a success callback even with iOS's noResponse type. Ignore callback to keep existing behavior
    • Review writeQ section of readme

4.5.14 - 2020-06-25

  • Fix NPE in Android #615

4.5.13 - 2020-06-16

  • Use fine location permissions to fix scanning in Android 10 #579

4.5.12 - 2020-06-03

  • Update types

4.5.11 - 2020-05-20

  • Reinitialize gatt server when Bluetooth resets #302

4.5.10 - 2020-04-10

  • Remove unnecessary check when advertising

4.5.9 - 2020-03-13

  • Add null check when disabling scan on newer Android versions
  • Update docs

4.5.8 - 2020-03-08

  • Improve connection reliability on Android

4.5.7 - 2020-02-11

  • Stop scan when Bluetooth is disabled on Android v6+

4.5.6 - 2019-11-10

  • Fix issue when adding descriptors

4.5.5 - 2019-06-06

  • Fixed typings

4.5.4 - 2019-05-31

  • Add write response error code on Android

4.5.3 - 2019-01-15

  • Handle optional name when advertising on iOS

4.5.2 - 2019-01-14

  • Fix typescript typings typo

4.5.1 - 2019-01-05

  • Allow disable timeout on Android

4.5.0 - 2018-12-25

  • Improve Windows support

4.4.4 - 2018-06-28

  • Fix typescript typings typo

4.4.3 - 2017-11-08

  • Use didReadRSSI

4.4.2 - 2017-07-04

  • Allow Windows scanning to be restarted #438

4.4.1 - 2017-06-28

  • Allow values to empty on iOS #435

4.4.0 - 2017-05-30

  • Use updated device name while scanning #430
  • #getAdapterInfo() for Android #429

4.3.3 - 2017-04-27

  • Fix typescript typings typos

4.3.2 - 2017-03-03

  • Add typescript typings

4.3.1 - 2017-01-21

  • Update plugin.xml to prevent possible conflicts with other plugins

4.3.0 - 2016-09-21

  • Add ability to force rediscover via clearCache parameter (Android) #340
  • UUIDs are now always uppercase #337
  • Fix issue with discoveredState being null on connect error, which caused NullPointerExceptions #342
  • Add ability to auto connect via autoConnect parameter (Android) #333
  • Update package.json engines #348

4.2.1 - 2016-07-25 (Forgot GitHub release, but on NPM)

  • Fix issue with queuing getting stuck when device disconnects / closes #315

4.2.0 - 2016-07-09

  • Added ability to bond/unbond on Android

4.1.0 - 2016-07-09

  • wasConnected helper function
  • Improved subscribe with Android. No longer need to specify whether notification or indication
  • Read, write, subscribe, unsubscribe, readDescriptor, writeDescriptor queueing for Android #263, #153
  • Everything now runs on the single WebCore thread with Android. It should prevent issues with race conditions
  • Fix issue with writeDescriptor on Android
  • Fix issue with UUID validation on iOS
  • Fix issue with undefined params obj on startScan on Android.

4.0.0 - 2016-03-30

  • Update OS X
  • Fix initializePeripheral issue when not passing parameters on iOS.

4.0.0-dev - 2016-03-23

  • OS X support. Central/client role only. Server/peripheral role was killed on newer versions of OS X.
  • Support for server/peripheral role on iOS and partially Android.
  • Background mode support controlled by other plugins.
  • Require Cordova 5+
  • Descriptor now includes permissions when discovering on Android...although descriptors never seem to have permissions set.
  • Fixed bug with descriptor values being typed wrong. Now value can have a type of data, number or string.
  • Fixed bug with write descriptor callback never being returned.
  • Fixed bug which allowed Client Configuration Descriptor to be written, which throws an iOS error.
  • Normalized write without response behavior. iOS now returns a write success immediately after executing the write.
  • Callbacks for discover, services, characteristics, descriptors, rssi, mtu, readDescriptor, writeDescriptor. Basically everything now.
  • Some code cleanup

3.3.0 - 2016-03-23

  • Added requestLocation function to help enable location on Android 6.0. Location services must be enabled to scan for unpaired devices. #238
  • Updated readme with walkthrough example - Thanks normesta

3.2.0 - 2016-03-21

  • Added writeQ function for faster writes.
  • Updated config.xml to support Windows 10 #242 - Thanks TimBarham

3.1.0 - 2016-02-23

  • Fixed issue with requestPermission() causing crash when executed on Android versions prior to 6.0.
  • Added ability to check whether location services are enabled or not. Android 6.0 requires location services to be enabled to find unpaired devices.
  • Windows API now compliant with v3.

3.0.1 - 2016-01-26

  • Fixed issue with API21+ code running on earlier API versions and causing the plugin to crash.

3.0.0 - 2016-01-25

  • Removed connecting / disconnecting statuses since they didn't provide much value and complicated the callback logic.
  • Shortened serviceUuid, characteristicUuid, descriptorUuid to uuid or service/characteristic/descriptor depending on the context. See the readme for more info.
  • Removed error callback from initialize. The success callback will be used to provide enabled or disabled status updates. #227
  • Read/Write/Subscribe/Unsubscribe now return the error callback on unexpected disconnects. For example, iOS 9 wouldn't automatically call the error callback for a read operation when unexpectedly disconnected. On iOS 8 and Android, it would. Future versions will add this to other operations like rssi, readDescriptor, writeDescriptor, etc.
  • More advertisement data provided on iOS. #110
  • Support for new and improved Android scanning. #232 Thanks pscholl
  • Fixed bug with scan race condition #223
  • Fixed bug where unsubscribe wouldn't throw an error when already unsubscribed and subscribe wouldn't throw an error when already subscribed.
  • Fixed bug where error callback was used instead of success callback when the device unexpectedly disconnected. #209
  • Fixed bug where non-BLE devices were returned with retrieveConnected on Android
  • Added permissions information to Android discovery.
  • Updated and simplified Angular wrapper. Timeouts can now specified for almost any type of operation. Improved its example.
  • Removed example. Use the Angular wrapper's example instead. Keeping both examples up to date was too time consuming.
  • Changed license to MIT.

2.7.1 - 2016-01-12

Changes

  • Forgot to increment version

2.7.0 - 2015-12-30

Changes

  • Close can now be called if the device isn't already disconnected.

2.6.0 - 2015-12-30

Changes

  • Instead of automatically requesting permissions on scan. It can now be done via the hasPermission and requestPermission functions available for Android. This only needs to be done on Android 6.0 / SDK 23.

2.5.0 - 2015-11-10

Fixed

  • Scan now works on Android 6.0, but requires ACCESS_COARSE_LOCATION permission. The permission will be requested when startScan is called. If the permission isn't granted, an error of "permissions" will be returned. #204

Documentation

  • Added information about permissions and targetting SDK 23

2.4.0 - 2015-10-20

Added

  • iOS supports Android style discovery #63

Fixed

  • isConnected and isDiscovered now have separate error callbacks

2.3.0 - 2015-09-27

Other

  • Added support for NPM

2.2.0 - 2015-09-27

Added

  • Allow duplicate advertisements packets in iOS #184
  • Change MTU on Android #183 - Needs additional testing

Fixed

  • Issue with RSSI callback missing device information
  • Issue when device name is null

Documentation

  • Many updates pertaining to the changes above
  • Cleaned up the example app's code, removed jQuery Mobile

2.1.0 - 2015-02-26

Added

  • Request connection priority support added on Android although throughput not personally tested by me. Updated documentation and example as well #134 #136
  • Retrieve connected support for Android. Some older Android versions / older devices wouldn't include paired devices in a scan. Doesn't support UUID filtering like iOS

Changes

  • Android projects should target API 21 #134 #136

Fixed

  • Issue involving status receiver if initialize was passed null (or invalid) parameters #114
  • Issue with discovery status after disconnecting and reconnecting without closing on Android #141
  • Issue with unexpected disconnect getting stuck on disconnect on Android 5.0+ #139
  • Issue with isConnected returning the negated value on IOS #130
  • Issue with retrieveConnected in example app

Documentation

  • Updated discovery documentation to include params #137