GPS randomly does not refresh when using Location/LocationValues functions
Operating system version
iOS 6.1.3 (10B329)
Description of the issue
On a random basis, execution of LocationValues function won't trigger a proper GPS location fetch (which can be visually observed) but will instantly return data from the last successful fetch even though age of value increases.
Steps to reproduce the problem
Create a script that calls LocationValues function on an iterative basis : script is,designed to compute an area and will therefore run over a loop prompting the user to move along locations before pressing a dialog button which triggers the LocationValues function.
Each call to the LocationValues function should trigger a proper GPS fetch
On a random basis iOS GPS cache data is returned instead of running a proper GPS fetch
Exact text of any error message(s) that appear
Trap the issue within a loop that checks whether the output of LocationValues is the same as previous and re-run. It can tale up to 15-20 times before a proper GPS fetch is performed.