@matthijskooijman I have now changed the behavior as discussed in #14.
I have created a counter that keeps track of failed GPS acquisition attempts. When the counter hits the maximum treshold (eg. 7 attempts), it will reset the coordinates to zero. In the future, one could potentially send this counter to the backend as a way to track GPS health.
I have moved the the caching logic to the getPosition() method.
@matthijskooijman I have now changed the behavior as discussed in #14.