From 2bf377922bd84bc2d860559b26fda8236519d1c9 Mon Sep 17 00:00:00 2001 From: Malte2036 Date: Fri, 3 Nov 2023 11:54:26 +0100 Subject: [PATCH] :arrow_up: Upgrade flutter_blue_plus --- lib/src/bluetooth.dart | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/bluetooth.dart b/lib/src/bluetooth.dart index 9d75f22..903ff89 100644 --- a/lib/src/bluetooth.dart +++ b/lib/src/bluetooth.dart @@ -22,7 +22,7 @@ class Bluetooth { FlutterBluePlus.scanResults; static Future> getConnectedDevice() async { - return await FlutterBluePlus.connectedSystemDevices; + return await FlutterBluePlus.systemDevices; } static Future isEnabled() async { diff --git a/pubspec.yaml b/pubspec.yaml index 6bf6417..d8d4f59 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ environment: flutter: ">=1.17.0" dependencies: - flutter_blue_plus: ^1.18.3 + flutter_blue_plus: ^1.20.8 permission_handler: ^11.0.1 flutter: sdk: flutter