I am developing an application that tracks the movement of users on GPS (in particular, on a bicycle), and I realized that when the screen automatically locks, the application will stop working (if Iβm not mistaken, Iβm not completely determined on this).
Is there a way to prevent the phone from automatically locking? Or as an alternative, is there a way (using Phonegap) to track the movement of the user after automatically locking the screen (like some kind of background process)?
Thanks.
source share