Files
universal_ble/pubspec.yaml
Tony 1d7108c9d0 Update Universal BLE Plugin for Peripheral Support and Code Generation
- Updated autogenerated files to reflect changes from Pigeon v26.3.4.
- Added new classes for UniversalBlePeripheralConfig, UniversalBlePeripheralService, UniversalBlePeripheralCharacteristic, UniversalBlePeripheralDescriptor, and UniversalBlePeripheralWriteEvent to handle peripheral configurations and events.
- Modified UniversalBlePlugin to implement methods for peripheral support, including StartPeripheral, StopPeripheral, UpdatePeripheralCharacteristicValue, and NotifyPeripheralCharacteristic, returning appropriate error messages for unsupported features on Windows.
- Updated HasPermissions method to include an additional parameter for Bluetooth advertising permissions.
- Adjusted method signatures and implementations across the plugin to accommodate new peripheral functionality.

Signed-off-by: Tony <tonylu@tony-cloud.com>
2026-05-08 03:36:12 +08:00

58 lines
1.2 KiB
YAML

name: universal_ble
description: A cross-platform (Android/iOS/macOS/Windows/Linux/Web) Bluetooth Low Energy (BLE) plugin for Flutter
version: 1.3.0
homepage: https://navideck.com
repository: https://github.com/Navideck/universal_ble
issue_tracker: https://github.com/Navideck/universal_ble/issues
documentation: https://github.com/Navideck/universal_ble#readme
funding:
- https://github.com/sponsors/Navideck
topics:
- bluetooth-low-energy-ble
- core-bluetooth
- windows-devices-bluetooth
- bluez
- web-bluetooth
platforms:
android:
ios:
linux:
macos:
web:
windows:
environment:
sdk: ^3.11.4
flutter: ">=3.3.0"
dependencies:
flutter:
sdk: flutter
plugin_platform_interface: ^2.1.8
flutter_web_bluetooth: ^1.1.0
bluez: ^0.8.3
dbus: ^0.7.11
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^6.0.0
pigeon: ^26.1.4
flutter:
plugin:
platforms:
android:
package: com.navideck.universal_ble
pluginClass: UniversalBlePlugin
ios:
pluginClass: UniversalBlePlugin
sharedDarwinSource: true
macos:
pluginClass: UniversalBlePlugin
sharedDarwinSource: true
windows:
pluginClass: UniversalBlePluginCApi