cordova-plugin-ble-central
cordova-plugin-ble-central copied to clipboard
callback when device connect or disconnect
Is it possible callback in background when user connect any bluetooth device or disconnect device?
Hi @mehmetkaynak
On iOS this is definitely possible, see: https://github.com/don/cordova-plugin-ble-central#background-scanning-and-notifications-on-ios
In these cases however, you will only be notified when a device you have specifically connected to successfully goes online, or disconnects.
There's no way to subscribe to any device just connecting or disconnecting.