Hello,
I have been working on an app which shows the compass heading while a user is moving. I've used this code:-
Position.enableLocationEvents(Position.LOCATION_CONTINUOUS, method(:onPosition));
to ensure that the user is constantly informed of the direction they are taking. It works well in the simulator (although it fluctuates wildly but at least it's constantly working on the position) but when I try it out on an actual device (vivoactive 4S) after I've set the GPS it works for a little while, then will settle on a particular location and not move, even when the user changes direction. Is there something else I need to do, either on code or in the device settings?
Thanks in advance.