[
https://issues.apache.org/jira/browse/CB-7875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14187461#comment-14187461
]
thomas fischer commented on CB-7875:
------------------------------------
So It seems to be in relation with the distance filter property.
I tested outside, walking, and the watchPositon works without error.
distanceFilter filters out short moves. So if CL detects that the device moved
20 meters, but your distance filter is set to 30m you will not be notified.
Once the position has moved enough to exceed your distance filter setting then
you will get a didUpdateToLocation callback.
"org.apache.cordova.geolocation is based on the W3C Geolocation API
Specification, and only executes on devices that don't already provide an
implementation."
Why Timeout error appear on iphone 4 and iphone 5 with IOS7 and IOS8 ?
With the "native" API, I have none error thrown, even if my position doesn't
change.
> watchPosition Timeout Error 3
> -----------------------------
>
> Key: CB-7875
> URL: https://issues.apache.org/jira/browse/CB-7875
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Geolocation
> Environment: cordova-cli version 4.0.0
> cordova-plugin-geolocation: 0.3.10
> xCode 6
> IOS7 - IOS8
> Reporter: thomas fischer
>
> Using the cordova-plugin-geolocation: 0.3.10, I have a timeout error with
> watchPosition. (error.code3)
> When i uninstall this plugin and use geolocation with the W3C API I have no
> problem of timeout, but it's not working on IOS8 due to the new Location
> Authorization
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]