0
votes

I have used https://github.com/randdusing/cordova-plugin-bluetoothle to scan the ble devices and able to extract required info. However, I need this to run this scan in the background for scanning only( as a service). I read through several queries answered in this forum,(Cordova: Scan for iBeacons / BLE in background mode (iOS and Android) & cordova plugins bluetooth background service) Android BLE Passive scan but they are more towards android native and IOS specific.

SO can the scan for BLE devices can be achieved as a background service using a plugin in?

1

1 Answers

1
votes

Yes,

I'm using

cordova-plugin-background-mode

and

cordova-plugin-ble-central

With those two plugins, yes, I'm scanning and connecting and read / write from the background.