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

watchPosition location update takes 2 to 3 minutes #8

Open
kaleeswaran14 opened this issue Nov 24, 2015 · 1 comment
Open

watchPosition location update takes 2 to 3 minutes #8

kaleeswaran14 opened this issue Nov 24, 2015 · 1 comment

Comments

@kaleeswaran14
Copy link

I called watchPosition function, I am getting the locations 2 or 3 minutes once.
Sometime, It is taking 3 to 4 minutes to get the location updates, But it returns bulk(10 to 20 entries) locations at once.
It seems, It collects the location every 1 minute and It is not returning every one minute, It is returned every 2 or 3 min randomly with all the collected location detail. Sometimes It gives location details after 4 or 5 minutes.

Options:
{maximumAge : 0, timeout: 15000, enableHighAccuracy: true,
priority: cordova.plugins.locationServices.geolocation.priorities.PRIORITY_HIGH_ACCURACY, interval: 1000, fastInterval: 5000}

@louisbl
Copy link
Owner

louisbl commented Dec 12, 2015

This may be related to setMaxWaitTime.

I have to do some tests and maybe update the plugin API to add support for this method and flushLocations.

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

2 participants