capacitor-community/bluetooth-le

createBond() failing on Android 10

maguirre-tribalyte opened this issue · 2 comments

When I call createBond() on Android 10 it fails with "Creating bond Failed" on the ADB logcat. Am I missing some step to make it work?

Steps to reproduce the behavior:

  1. Request Device on android 10
  2. Call createBond() with that device.
  3. See error

Expected behavior
createBond() should initiate the bonding process ond Android 10

Plugin version:

  • @capacitor-community/bluetooth-le: 3.0.0

Smartphone (please complete the following information):

  • Device: moto g7
  • OS: Android 10
  • Browser: Stock Browser
pwespi commented

No, there should be no additional step required apart from requesting device to get the ID and then calling createBond.

Does it work to create the bond with another app, e.g. nRF connect for mobile?

It looks like this issue didn't get the information it needed, so I'll close it for now. If I made a mistake, sorry! I am just a bot.

Have a great day!
Capacitor Community Bot 💙