I have build an App which records users location and writes to my database. This is set on timer to run every x minutes.
However when the phone locks or user changes the app. This stops being recorded.
I have looked through a few posts which people have posted on here, i havent seen a solution. However it hast been mentioned for a while, so was seeing if anyone has found a solution.