We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd66653 commit 5b34e20Copy full SHA for 5b34e20
android/src/main/java/com/pauldemarco/flutterblue/FlutterBluePlugin.java
@@ -679,7 +679,7 @@ private void startScan18(Protos.ScanSettings proto) throws IllegalStateException
679
List<String> serviceUuids = proto.getServiceUuidsList();
680
UUID[] uuids = new UUID[serviceUuids.size()];
681
for(int i = 0; i < serviceUuids.size(); i++) {
682
- uuids[0] = UUID.fromString(serviceUuids.get(0));
+ uuids[i] = UUID.fromString(serviceUuids.get(i));
683
}
684
boolean success = mBluetoothAdapter.startLeScan(uuids, getScanCallback18());
685
if(!success) throw new IllegalStateException("getBluetoothLeScanner() is null. Is the Adapter on?");
0 commit comments