Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

[Android] - Set the minimum displacement between location updates in meters #146

Closed
denisraison opened this issue Jul 17, 2018 · 2 comments

Comments

@denisraison
Copy link
Contributor

Hello there,

I just have a question.
Why we can't set the setSmallestDisplacement when creating the LoationRequest for watching location in Android.

Did you guys had any issue doing that?

Thanks for the library it's awesome 💃
Denis Raison

@etabakov
Copy link
Contributor

Hey @denisraison, there is nothing preventing us to set the displacement. I guess we just haven't thought of it or haven't stumbled on suitable use case.

If you feel like this is important, we will be more than happy to consider a pull requests that extends the Options type and adds displacements as an option.

Welcome to NativeScript!

@etabakov
Copy link
Contributor

The "updateDistance" option is now respected on Android as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants