[
https://issues.apache.org/jira/browse/CB-7875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15034031#comment-15034031
]
Harpreet Singh commented on CB-7875:
------------------------------------
I am observing that after calling $cordovaGeolocation.watchPosition, I may
get either 1-2 geolocationSuccess results, or a geolocationError
(kCLErrorDomain error 0, or timeout). If I get those 1-2 success results, then
nothing else fires again until an error timeout. After the error, nothing else
fires again. If I call clearWatch and watchPosition again, then the process
repeats.
What is going on here? I would expect to keep getting periodic
geolocationSuccess calls, and if there is a geolocationError then I should at
least keep getting updates either with success or failure. Why does the event
firing stop, and I have to reset it by creating a new watch?
> 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]