react-native-ble-plx icon indicating copy to clipboard operation
react-native-ble-plx copied to clipboard

Question

Open renatoramossilva opened this issue 5 years ago • 4 comments

  • [ X] I am running the latest version
  • [ X] I checked the documentation and found no answer
  • [ X] I checked to make sure that this issue has not already been filed
  • [ X] I'm sure that question is related to the library itself and not Bluetooth Low Energy or Classic in general.

Question

I'm trying to unpair the ble device from the phone.

i.e. I can scan, connect the ble device. It´s OK! No news for now. I know that there is the cancelConnection but this function cancel the connection between ble device-App (But the device is still in the paired device list in the smartphone).

I would like to know if there is any way to remove/unpair the ble device from the smartphone.

Thanks! Regards

renatoramossilva avatar Aug 24 '21 10:08 renatoramossilva

Hi, I have the same question is there a way for the lib or an api to unpair a device from the system bluetooth settings?

Thanks

marcoj avatar Aug 30 '21 16:08 marcoj

Hi, You should be able to unpair the device in Bluetooth settings on your phone.

mciechanowicz avatar Nov 08 '21 10:11 mciechanowicz

Hi @mciechanowicz,

Yes, I can do it, but I would like to know if it is possible to unpair the device using the ble library.

Is this possible or should I do it from phone bt setting?

renatoramossilva avatar Nov 08 '21 11:11 renatoramossilva

No, it is not possible to unpair the device using this library, so you have to do it manually 😉

As far as I know, I don't think iOS allows you to unpair your device through the app so it's not possible to implement.

Did my answer help or do you still need help with something?

mciechanowicz avatar Dec 07 '21 14:12 mciechanowicz