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

[jira] [Closed] (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:all-tabpanel ]

Matthew Gifford closed CB-1534.
-------------------------------

    Resolution: Fixed

Changed the value of EnableLocation in PhoneGap.plist to NO fixed the problem. Not really a fix, but will keep things going until we can get the project updated to the latest version.
                
> 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