How to make tracking the position of a sleeping device?

Develop an application that needs to continuously (every few seconds) to remove the current coordinates to send to the server (tracker positions). Now there is a problem - coordinates are removed if the phone is off the screen. The developer says that the Android system does not allow to do it, but other apps do it.
Tell me how to do it.
Thank you.
March 23rd 20 at 18:55
2 answers
March 23rd 20 at 18:57
March 23rd 20 at 18:59 - here you can find a solution to your problem. Be aware that there are limits on the tracking in the background.
But the fact that the developer assures us of the impossibility of such a very bad signal. You may want to look for alternative developers, not linewise to read the documentation.

Find more questions by tags AndroidSatellite navigation