You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/10/10 17:20:23 UTC
[GitHub] [cordova-plugin-geolocation] ilclaudio opened a new issue #177: On
iOS speed remains still and does not fall to zero
ilclaudio opened a new issue #177: On iOS speed remains still and does not fall to zero
URL: https://github.com/apache/cordova-plugin-geolocation/issues/177
Hi,
I'm using this code to watch the position of a device:
`
const geo_options= {
enableHighAccuracy: true,
timeout: 5000,
maximumAge: 0
};
this.followUsersubscription = this.geolocation.watchPosition(geo_options)
.subscribe(position => {
thsi.currentSpeed = position.coords.speed;
}
}, err => {
console.log('ERR-watchPosition:', err);
});
`
On Android devices the speed shown is right,.but on iOS the speed doesn't fall to zero when I stop walking.
I'm using an iPhone 7.1 with iOS 12.4.1.
I'm using the wrong options?
What could be the problem?
Claudio
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org