[ 
https://issues.apache.org/jira/browse/CB-1674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507804#comment-13507804
 ] 

Shazron Abdullah commented on CB-1674:
--------------------------------------

Not sure if this is a bug. A timeout can occur for various reasons, depending 
on network conditions and/or radio blockage. It is a bug if you change position 
and the position success callback never fires.

I tested the full example code, and in between a couple of timeouts the success 
callback fires multiple times -- so a timeout does not  necessarily stop a 
watchPosition call.
                
> watchPosition example in PG docs eventually times out
> -----------------------------------------------------
>
>                 Key: CB-1674
>                 URL: https://issues.apache.org/jira/browse/CB-1674
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: Tested on iPod 4th gen, iOS 6, PhoneGap 2.1.0
>            Reporter: Kuan Yi Ming
>            Assignee: Shazron Abdullah
>             Fix For: 2.3.0
>
>
> WatchPosition eventually times out after 3-20 attempts. Replicated with the 
> full example code at 
> http://docs.phonegap.com/en/2.1.0/cordova_geolocation_geolocation.md.html#geolocation.watchPosition

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to