cordova-plugin-bluetoothle
cordova-plugin-bluetoothle copied to clipboard
Sometimes `discover` just hangs up
Sometimes, calling discover
on Android just hangs up, without resolving.
Without it, it's impossible to write or read...
It's seems completely random, about 30% of the time.
Any idea what can be causing this?
Same thing just happend to me but its not really random, it happens every time, no callback returns. Iam using version 6.1.0 on a Pixel 4a with Android 11. I got a stacktrace, maybe it helps:
I have a solution that seems to work for me atm. The error happens if i try to (re)discover on an established connection. if i close the connection and open it cleanly seems to work.
I have no success/error callbacks on android 8 every time. Never yet on 9 or 10.