Commit 272dbb2
Changed files (2)
app
android
app
lib
features
bluetooth
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 =>