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