flutter_blue_plus_platform_interface

v7.0.0

A common platform interface for the flutter_blue_plus plugin.

Архив пакета: https://pubdev.letsnova.ru/api/archives/flutter_blue_plus_platform_interface/7.0.0.tar.gz

Установкаdart pub add flutter_blue_plus_platform_interface

README

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.

История изменений

4.0.2

  • Added androidCheckLocationServices to BmScanSettings (#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 setNotifyValue on web (#1153)
  • Fix conversion code for devices with service data and uuids (#1143)
  • Correct casting of raw json in BmScanAdvertisement (#1142)
  • Fix webOptionalServices broke 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