I am developing a hybrid application. I had used a plugin for track the location continuously using background service.
My problem is if I didn't use my application 2 days. The process is getting killed by itself. The status is changed to 0 process 1 service running. So cannot get location updates.
So how to resolve my issue? The below link is my location tracking plugin code for cordova.