[Location Plugin] How to make a mobile device report position at all times

[Location Plugin] How to make a mobile device report position at all times

  
Forge Component
(11)
Published on 2016-12-15 by OutSystems R&D
11 votes
Published on 2016-12-15 by OutSystems R&D

I am developing a mobile app that needs to report the position of a mobile device at a specific interval (e.g. every hour) not only when the app is running but also when the app is in the background, was quit by the user or even when it has been purged from memory by the the OS (iOS or Android). I know I can use the Location Plugin to get locations when an app is running, the problem is somehow creating a background process that keeps reporting a location all the time, even when the app was quit. Any ideas how to do this with Outsystems? Any existing examples?

Hey, Frans,

Remco's suggestions (especially the second one) look pretty good.

Would you give them a try and tell us how it went? Be careful about battery drain (especially on iOS)!

Best regards,

Carlos Simões

Hi Everyone,

Thanks for the quick response. I think the background location plugin can do what I want. I'm going to give it a try. Hope to let you know how it went sometime next week.