You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Becky Gibson (JIRA)" <ji...@apache.org> on 2012/10/05 17:54:04 UTC

[jira] [Commented] (CB-1534) navigator.geolocation.getCurrentPosition almost always running failure callback or no callback (PG 1.3 in iOS 6)

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

Becky Gibson commented on CB-1534:
----------------------------------

To be honest, we are not likely to go back and fix bugs in such an old PhoneGap version. Can you try with the edge version or at least with 2.1?  We have location tests in our test suite and they are working correctly for me running with 2.0 or the edge version of Cordova on iOS 6.  
                
> navigator.geolocation.getCurrentPosition almost always running failure callback or no callback (PG 1.3 in iOS 6)
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-1534
>                 URL: https://issues.apache.org/jira/browse/CB-1534
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.3.0
>         Environment: PhoneGap 1.3 in iOS 6
>            Reporter: Matthew Gifford
>            Assignee: Shazron Abdullah
>
> In my PhoneGap 1.3 app running on iOS 6, navigator.geolocation.getCurrentPosition is almost always running the failure callback or not running any callback at all.
> I tried replacing the Location module with the one from PG 1.4.1. Same result.
> FWIW, when I pull the Location module out of the app and comment out the appropriate sections of phonegap.js (meaning that the app uses the webview's getCurrentPosition) things work perfectly. Of course, that's not an acceptable solution, as the dialog informing the user that the app wants to use location now shows a file path.

--
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