Skip to content

v0.1.0

Compare
Choose a tag to compare
@jeroen1602 jeroen1602 released this 22 Dec 15:58
· 123 commits to master since this release
c7cc503

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.