I have created a very basic car tracking app using the geolocation service. The location refreshes every 30 seconds and sends the data to a 3rd party REST Service and stores the data in database. This all works ok.
The problem I am experiencing is that the long and lat coordinates don't always update on the geolocation service and I can drive for several miles before it registers a change in location. I have checked the phone has gps and data reception during these periods and can confirm that it does. I have tried several variations using both setinterval and settimeout calls to refresh the geolocation. I have also tried changing the settings on the geolocation such as enablehighaccuracy to true & false and nothing appears to make a difference. The application has not frozen as the REST service is still called and the data is added to the database.
As I am in the early stages of development I am running the app through the appery.io testing app on an iphone. Are there any known issues running geolocation through the testing platform?
If not are you aware of anybody else experiencing difficulties with the geolocation coordinates not reliably updating that may help me to figure out what the problem is.
Thanks in advance.