diff --git a/android/src/main/java/com/pauldemarco/flutter_blue/FlutterBluePlugin.java b/android/src/main/java/com/pauldemarco/flutter_blue/FlutterBluePlugin.java index 12a6185a..b4563589 100644 --- a/android/src/main/java/com/pauldemarco/flutter_blue/FlutterBluePlugin.java +++ b/android/src/main/java/com/pauldemarco/flutter_blue/FlutterBluePlugin.java @@ -744,6 +744,7 @@ private void startScan(MethodCall call, Result result) { try { settings = Protos.ScanSettings.newBuilder().mergeFrom(data).build(); allowDuplicates = settings.getAllowDuplicates(); + macDeviceScanned.clear(); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { startScan21(settings); } else {