Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPS example only updating location once #217

Closed
frmdstryr opened this issue Jul 17, 2016 · 2 comments
Closed

GPS example only updating location once #217

frmdstryr opened this issue Jul 17, 2016 · 2 comments

Comments

@frmdstryr
Copy link

frmdstryr commented Jul 17, 2016

On Android the GPS example only updates once shortly after started. In order to get another update it must be stopped and started again. Can someone else please confirm?

@kiok46
Copy link
Contributor

kiok46 commented Jul 17, 2016

@frmdstryr Nope, that's not the case. The update depends upon 2 parameters.

  • minTime : minimum time interval between location updates, in milliseconds.
    
  • minDistance : minimum distance between location updates, in meters.
    

Right now these values are manually set to be 1000 milliseconds and 1 meter respectively.

@kiok46
Copy link
Contributor

kiok46 commented Jul 17, 2016

@frmdstryr Use #218 to configure them as per your need.

@dessant dessant closed this as completed Jul 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants