Commit 272dbb2

derdilla <82763757+derdilla@users.noreply.github.com>
2024-10-08 16:27:54
Build v1.8.1 using latest stable (#457) tag: v1.8.1
* update flutter_blue_plus_mockable api * use latest compileSdk version
1 parent 3b2ed3e
Changed files (2)
app
android
lib
features
app/android/app/build.gradle
@@ -29,7 +29,7 @@ def keystoreProperties = new Properties()
    }
 
 android {
-    compileSdkVersion flutter.compileSdkVersion
+    compileSdkVersion 35
     ndkVersion flutter.ndkVersion
 
     compileOptions {
app/lib/features/bluetooth/logic/flutter_blue_plus_mockable.dart
@@ -49,8 +49,8 @@ class FlutterBluePlusMockable {
   /// Retrieve a list of devices currently connected to the system
   /// - The list includes devices connected to by *any* app
   /// - You must still call device.connect() to connect them to *your app*
-  Future<List<BluetoothDevice>> get systemDevices =>
-      FlutterBluePlus.systemDevices;
+  Future<List<BluetoothDevice>> systemDevices(List<Guid> withServices) =>
+      FlutterBluePlus.systemDevices(withServices);
 
   /// Retrieve a list of bonded devices (Android only)
   Future<List<BluetoothDevice>> get bondedDevices =>