Closed mley closed 5 months ago
I'm unable to reproduce this on my test devices. Are you seeing this on multiple Android devices?
Worth noting, iOS has 2 mechanisms for reporting BLE name, while Android only uses the advertised name. I wonder if the above is only showing the GAP name in iOS, which is cached after connection?
See https://forums.developer.apple.com/forums/thread/19381
@mley capturing the specific advertising packet using nrf Connect would perhaps make it clearer what's being broadcast.
Thanks for the reply.
I tried again today with the same Android device and the same Polar H9 and this time the name of the device came back correctly. It might have just been a hiccup, fixed by a reboot of the Android phone...
Sorry for the inconvenience. I will close the issue then.
Describe the bug When using the
requestDevice()
method to scan for BLE heart-rate monitors, Android shows the devices only as "Unknown" with their MAC address. I test this with a Polar H9 and a Garmin watch in broadcast mode. On iOS the names of the devices are shown correctly.To Reproduce Steps to reproduce the behavior:
Expected behavior I expect the pick device dialog to also show the name of the device
Screenshots![Screenshot_20240308_094002_FIT-UP](https://github.com/capacitor-community/bluetooth-le/assets/7995757/163816d2-c560-4642-b5f2-992b3b0676a7)
Plugin version:
Smartphone (please complete the following information):