Improve Apple, Android and Windows (#40)

* Cleanup connection

* Reverse search list

* Bump version

* Fix Android serviceUuids in scanResults

* Fix typo

* Improve cleanup on apple

* Improve Apple reconnection and service discovery

* Persist long scan result name on Windows

Co-authored-by: navidecklabs <navidecklabs@users.noreply.github.com>

* Update changelog

---------

Co-authored-by: Rohit Sangwan <rohitsangwan647@gmail.com>
Co-authored-by: navidecklabs <navidecklabs@users.noreply.github.com>
This commit is contained in:
Foti Dim
2024-05-09 11:48:32 +02:00
committed by GitHub
parent 3be945c3d5
commit fef4e8526b
10 changed files with 88 additions and 26 deletions
+2 -1
View File
@@ -225,7 +225,8 @@ class _MyAppState extends State<MyApp> {
itemCount: _scanResults.length,
separatorBuilder: (context, index) => const Divider(),
itemBuilder: (context, index) {
BleScanResult scanResult = _scanResults[index];
BleScanResult scanResult =
_scanResults[_scanResults.length - index - 1];
return ScannedItemWidget(
scanResult: scanResult,
onTap: () {