Open
Description
Describe the bug
During a scan, if a device name changes, only the old name is propagated.
This behavior does not exist with nrfConnect or other native applications.
To Reproduce
Steps to reproduce the behavior:
- With two smartphone, launch scan using requestLEScan
- Write a new name (generic-access/device-name) from your BLE server device
- On both smarphones, the device appears but still displays the old name
Expected behavior
If you repeat these steps with nrfConnect, the divice appears with its new name.
Plugin version:
- @capacitor-community/bluetooth-le: [e.g. 7.1.1]
Resolution track
On Android : android/src/main/java/com/capacitorjs/community/plugins/bluetoothle/DeviceList.kt#addDevice, if the divice is already in the list then it should be updated