From 25d3d60e2607963ad53feff710c72859f98088d3 Mon Sep 17 00:00:00 2001 From: Codel1417 Date: Tue, 4 Jun 2024 17:32:39 -0400 Subject: [PATCH] remove deprecated foreground service value --- lib/Backend/Bluetooth/bluetooth_manager_plus.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Backend/Bluetooth/bluetooth_manager_plus.dart b/lib/Backend/Bluetooth/bluetooth_manager_plus.dart index 2b9b6d80..25ee37dd 100644 --- a/lib/Backend/Bluetooth/bluetooth_manager_plus.dart +++ b/lib/Backend/Bluetooth/bluetooth_manager_plus.dart @@ -106,7 +106,6 @@ Future initFlutterBluePlus(InitFlutterBluePlusRef ref) async { _bluetoothPlusLogger.finer('Requesting notification permission result${await Permission.notification.request()}'); // Used only for Foreground service FlutterForegroundTask.init( androidNotificationOptions: AndroidNotificationOptions( - foregroundServiceType: AndroidForegroundServiceType.CONNECTED_DEVICE, channelId: 'foreground_service', channelName: 'Gear Connected', channelDescription: 'This notification appears when any gear is running.',