Skip to content

Commit f736b6d

Browse files
Readme code fix (fix from: Readme code fix #466)
1 parent 7666ec5 commit f736b6d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
## 0.6.4
2-
* ios example: Fixed Issue with Bluetooth Permissions on iOS 13.3 (fix for: Fixed Issue with Bluetooth Permissions on iOS 13.3 #485)
3-
* migrate to targetSdkVersion 29 => ACCESS_FINE_LOCATION (fix for: Android X ScanResult empty list #486)
4-
* Removes minSdk declaration from AndroidManifest.xml (fix for: Remove minSdk declaration from AndroidManifest.xml #507)
2+
* Readme code fix (fix from: Readme code fix #466)
3+
* ios example: Fixed Issue with Bluetooth Permissions on iOS 13.3 (fix from: Fixed Issue with Bluetooth Permissions on iOS 13.3 #485)
4+
* migrate to targetSdkVersion 29 => ACCESS_FINE_LOCATION (fix from: Android X ScanResult empty list #486)
5+
* Removes minSdk declaration from AndroidManifest.xml (fix from: Remove minSdk declaration from AndroidManifest.xml #507)
56

67
## 0.6.3+1
78
* Fix compilation issue with iOS

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ flutterBlue.startScan(timeout: Duration(seconds: 4));
4040
// Listen to scan results
4141
var subscription = flutterBlue.scanResults.listen((scanResult) {
4242
// do something with scan result
43-
device = scanResult.device;
44-
print('${device.name} found! rssi: ${scanResult.rssi}');
43+
device = scanResult[0].device;
44+
print('${device.name} found! rssi: ${scanResult[0].rssi}');
4545
});
4646
4747
// Stop scanning

0 commit comments

Comments
 (0)