I am developing an app for iOS and Android that monitors a users locations and plots a course with markers every 10 seconds or so however when the phone is locked the location stops tracking and plotting the positions stop.I am developing an app for iOS and Android that