Skip to content

Releases: jeroen1602/flutter_web_bluetooth

V0.2.4

11 Oct 13:36
6523c4f
Compare
Choose a tag to compare
  • Updated BluetoothDefaultManufacturerIdentifiers, some identifiers have been renamed, the old names have been marked
    as deprecated.
    • Use BluetoothDefaultManufacturerIdentifiers.manufacturerIdentifiers to get a list of all the non-deprecated
      identifiers.
  • Updated BluetoothDefaultServiceUUIDS with the latest service UUIDS. Some services now use the official name from the
    Bluetooth SIG, the old names have been marked as deprecated.
    • Use BluetoothDefaultServiceUUIDS.services to get a list of all the non-deprecated service UUIDS.
    • Added the id field to the enum, this contains the official Bluetooth SIG id of the UUID.
  • Updated BluetoothDefaultCharacteristicUUIDS with the latest characteristic UUIDS. Some characteristic now use the
    official name from the Bluetooth SIG, some characteristics no longer exist in the spec. The old names and values have
    been marked as deprecated
    • Use BluetoothDefaultCharacteristicUUIDS.characteristics to get a list of all the non-deprecated characteristic
      UUIDS.
    • Added the id field to the enum, this contains the official Bluetooth SIG id of the UUID.
  • Updated docs to link to the current version of the service, characteristic, and manufacturer data blocklists

V0.2.3

23 Feb 11:50
39ae1df
Compare
Choose a tag to compare
  • Added optionalManufacturerData to RequestOptions. This is needed to get the manufacture data when watching
    advertisements.
  • Added BluetoothDefaultManufacturerIdentifiers enum with all the registered manufacturer identifiers
  • Fixed the conversion from a JS map to a dart map for manufacturer data and service data.
    If you are listening to advertisements then these values will now be returned correctly.
  • Update dependencies.

V0.2.2

29 Sep 11:36
69861bf
Compare
Choose a tag to compare
  • Added exclusionFilters to RequestOptionsBuilder.
  • Added new MissingUserGestureError that you may need to handle.
  • Updated dependencies to be more broad. (The minimum versions are still supported.)

V0.2.1

29 Sep 11:35
7e57287
Compare
Choose a tag to compare
  • Updated dependencies.

V0.2.0

02 Apr 19:25
c3a3acb
Compare
Choose a tag to compare
  • Breaking Removed SNAKE_CASE uuids.
    • The default uuids are now an enum since dart supports enums with values.
    • If you were using defaultUuid.ordinal then you should now use defaultUuid.index.
    • Some names may slightly differ.
  • Breaking Upgraded minimum dart sdk to 2.17
  • Added forget to a BluetoothDevice, to forget a device.

v0.1.0

22 Dec 15:58
c7cc503
Compare
Choose a tag to compare

Added requestLEScan to Bluetooth and FlutterWebBluetooth. You can now scan for devices advertisements without needing to pair with each device. However, a normal pair does need to happen before characteristics can be used.

  • Breaking in Bluetooth.requestDevice() the RequestOptions are no longer nullable.
  • Breaking BluetoothDevice.gatt is no longer marked as deprecated, it is still marked as visibleForTesting.
  • Added bluetooth advertisements event to a bluetooth device. (Note this is still behind a flag in most browsers.)
  • Support the newest version of logging.
  • Continuing with the IOS Bluefy browser fix for characteristic properties.
    • Added has methods for all the fields in characteristic properties.
    • Return false as default value when a property doesn't exist.
    • Added hasProperties method to check if there are any properties at all. Use this to test if the properties are
      even reliable.
    • You can remove any try-catch logic around reading properties if you added those for the mitigation.

Note: The next version of the library will probably upgrade the minimum SDK from 2.12 to 2.17 to keep up with other packages. If there are any good reasons to not do this then please create an issue on Github.

V0.0.9

02 Sep 09:36
3a58c47
Compare
Choose a tag to compare

Updated dependencies to work with Flutter 3.3.0

  • Added a hotfix for the IOS Bluefy browser. As a side effect none of the characteristic properties are required anymore, but there are no methods yet to check if the properties exist. So add a try-catch around these methods for now! Thanks @rohitsangwan01 for the fix.

V0.0.8

02 Sep 09:02
89fa8fc
Compare
Choose a tag to compare

Added manufacturer scan filters and service scan filters

V0.0.7

27 Mar 16:31
5dbd076
Compare
Choose a tag to compare

Added getCharacteristics to the bluetooth service to get all the characteristics.

  • Set target platform to web for pub.dev target platform list (it will still compile when used in non-native programs.)
  • Added documentation to the last few public interfaces

V0.0.6+2

02 Jan 20:16
efc36ab
Compare
Choose a tag to compare

Small hot fix for the behavior subject.

  • Fixed the behavior subject stream not returning the stored value causing some implementations to wait forever.