Skip to content

Commit 272dbb2

Browse files
authored
Build v1.8.1 using latest stable (#457)
* update flutter_blue_plus_mockable api * use latest compileSdk version
1 parent 3b2ed3e commit 272dbb2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def keystoreProperties = new Properties()
2929
}
3030

3131
android {
32-
compileSdkVersion flutter.compileSdkVersion
32+
compileSdkVersion 35
3333
ndkVersion flutter.ndkVersion
3434

3535
compileOptions {

app/lib/features/bluetooth/logic/flutter_blue_plus_mockable.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ class FlutterBluePlusMockable {
4949
/// Retrieve a list of devices currently connected to the system
5050
/// - The list includes devices connected to by *any* app
5151
/// - You must still call device.connect() to connect them to *your app*
52-
Future<List<BluetoothDevice>> get systemDevices =>
53-
FlutterBluePlus.systemDevices;
52+
Future<List<BluetoothDevice>> systemDevices(List<Guid> withServices) =>
53+
FlutterBluePlus.systemDevices(withServices);
5454

5555
/// Retrieve a list of bonded devices (Android only)
5656
Future<List<BluetoothDevice>> get bondedDevices =>

0 commit comments

Comments
 (0)