flutter_blue_plus_platform_interface
v7.0.0A common platform interface for the flutter_blue_plus plugin.
Package archive: https://pubdev.letsnova.ru/api/archives/flutter_blue_plus_platform_interface/7.0.0.tar.gz
dart pub add flutter_blue_plus_platform_interfaceReadme
flutter_blue_plus_platform_interface
A common platform interface for the flutter_blue_plus plugin.
This interface allows platform-specific implementations of the flutter_blue_plus
plugin, as well as the plugin itself, to ensure they are supporting the
same interface.
Usage
To implement a new platform-specific implementation of flutter_blue_plus, extend
FlutterBluePlusPlatform with an implementation that performs the
platform-specific behavior, and when you register your plugin, set the default
FlutterBluePlusPlatform by calling
FlutterBluePlusPlatform.instance = MyPlatformFlutterBluePlus().
Note on breaking changes
Strongly prefer non-breaking changes (such as adding a method to the interface) over breaking changes for this package.
See https://flutter.dev/go/platform-interface-breaking-changes for a discussion on why a less-clean interface is preferable to a breaking change.
Changelog
4.0.2
- Added
androidCheckLocationServicestoBmScanSettings(#1199)
4.0.1
- Remove unused methods from Bluetooth messages
4.0.0
- Better guid equals operator (#1169)
- Add on turn on response stream (#1166)
- Don't wait for CCCD write for
setNotifyValueon web (#1153) - Fix conversion code for devices with service data and uuids (#1143)
- Correct casting of raw json in
BmScanAdvertisement(#1142) - Fix
webOptionalServicesbroke scanning on Android - Use bytes instead of hex for platform communication (#1130)
3.0.0
- Add support for web optional services (#1124)
- Add option to provide pairing PIN to
createBond(#1119)
2.0.1
- Add log color
2.0.0
- Replace plugin_platform_interface with base keyword
- Return sensible defaults instead of throwing
- Replace void return types with bool return types
1.0.0
- Initial release
