I have created a Cordova app for android which is using the GPS and also the Bluetooth.
The app is running fine but I need to add a couple of features.
The GPS and the BLE are both working fine! Just need to add these 2 things:
1. The app is auto-launched in the background when rebooting the device.
2. When running in the foreground, I need to override the back button of the device and send the app to the foreground where it must keep on running (GPS+BLE)
I uploaded the picture to understand the source code quickly.