v0.1.0
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()theRequestOptionsare no longer nullable. - Breaking
BluetoothDevice.gattis no longer marked as deprecated, it is still marked asvisibleForTesting. - 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
hasmethods for all the fields in characteristic properties. - Return
falseas default value when a property doesn't exist. - Added
hasPropertiesmethod 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.
- Added
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.