Forum Post: RE: Background location tracking

  • Thread starter Thread starter spserna2
  • Start date Start date
Status
Not open for further replies.
S

spserna2

Guest
Hi all, After some experiment with sending GPS data in background, The Cordova plugin cordova-plugin-background-geolocation seems be best solution if you have control over the receiving side on the server for Android. However, if you do need a Javascript execution at certain interval and worry about the app going to sleep after the app been idle for some time, cordova-plugin-background-mode is more energy efficient alternative to Insomnia-PhoneGap-Plugin, In Android, it create a long running background service that will run on top of your main app and disable service when you main app resume. For now, the Javascript execution has been successful on every 5 minutes or more, and I can use the JSDO service generated with the OpenEdge mobile during background mode. I do however interested to look at improve the plugin with AlarmManager from Android. Thank you.

Continue reading...
 
Status
Not open for further replies.
Back
Top