Philip Peitsch
Philip Peitsch
I've addressed part of this in https://github.com/don/cordova-plugin-ble-central/pull/845, which will close the connections on app destruction. The issue with the connections not being closed when Bluetooth is disabled is slightly different....
> Is there a way to detect the plugin is already connected? Just using `ble.isConnected(deviceId, success, failure)` should tell you if you are already connected to the device. If you...
This is related to #192. It's possible to parse this manually out of the advertising payload directly, but it is a bit tricky. I agree there may be some benefit...
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,...
Some fixes were landed as part of https://github.com/don/cordova-plugin-ble-central/commit/ee7cb0dbeff237af37faeee97c50bfd2eb430497 Is this still an ongoing issue being experienced by anyone?
It actually appears after some research that this is simply a case of bad logging from the Android BluetoothGatt subsystem. See https://issuetracker.google.com/issues/37057260 It looks like the log message saying "Unhandled...
There's some suggested workarounds on the issue tracker, but none of these look terribly simply to get 100% correct. I'm happy to accept patches trying to resolve this however if...
@MarcinDl significant improvements were made in this area very recently in v1.4.2 Have a look at https://github.com/don/cordova-plugin-ble-central#background-scanning-and-notifications-on-ios , as you'll need to set the `BLUETOOTH_RESTORE_STATE` variable to `true` in order...
Just to clarify, is this Android or iOS or both?
@MarcinDl out of interest, do you have `ACCESS_BACKGROUND_LOCATION` set to true? E.g., https://github.com/don/cordova-plugin-ble-central#android In general however, the decision to pause the scan sits in how Android's battery optimisation behaves. There's...