Skip to content

Commit 60df631

Browse files
authored
Change filterByServices to false in device connection
1 parent b94175a commit 60df631

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/open_earable_flutter.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ class WearableManager {
232232
/// Returns a list of successfully connected wearables.
233233
Future<List<Wearable>> connectToSystemDevices({List<String> ignoredDeviceIds = const []}) async {
234234
List<DiscoveredDevice> systemDevices =
235-
await _bleManager.getSystemDevices(filterByServices: true);
235+
await _bleManager.getSystemDevices(filterByServices: false);
236236
List<Wearable> connectedWearables = [];
237237
for (DiscoveredDevice device in systemDevices) {
238238
if (_connectedIds.contains(device.id) || ignoredDeviceIds.contains(device.id)) {

0 commit comments

Comments
 (0)