apache / cordova-plugin-geolocation

Apache Cordova Geolocation Plugin
https://cordova.apache.org/
Apache License 2.0
634 stars 662 forks source link

Feature Request: The parameter distanceFilter should be configurable #178

Open ilclaudio opened 5 years ago

ilclaudio commented 5 years ago

I really appreciate the work of the Cordova community and I often use Cordova plugins in my Ionic apps. I've had the following problem with the cordova-plugin-geolocation plugin: The speed of the device doesn't fall to zero when you stop walking and the speed change isn't responsive as on Android devices.

I exposed the problem in this issue: https://github.com/apache/cordova-plugin-geolocation/issues/177

So it would be nice to have the distanceFilter parameter configurable.

@bennmapes has found this workaround to solve the problem: https://github.com/apache/cordova-plugin-geolocation/issues/177

Thank you

Claudio

breautek commented 5 years ago

Because android doesn't have any kind of distance filtering API, this would be an ios specific feature.

breautek commented 5 years ago

Also related to https://github.com/apache/cordova-plugin-geolocation/issues/162