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/09/24 20:57:07 UTC

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

Matthew Gifford created CB-1534:
-----------------------------------

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

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

Posted by "Becky Gibson (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Matthew Gifford (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13470488#comment-13470488 ] 

Matthew Gifford commented on CB-1534:
-------------------------------------

I assumed it would be unlikely that much would come of this ticket, but Shazron suggested I submit it anyway. Since I submitted this ticket, we discovered that we were running into the same problem with EnableLocation that was recently fixed in the edge version. I'm going to close the issue.
                
> 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

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

Posted by "Matthew Gifford (JIRA)" <ji...@apache.org>.
     [ 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