locationManager didFailWithError null phonegap simulator
Posted
by
ateam
on Stack Overflow
See other posts from Stack Overflow
or by ateam
Published on 2012-11-08T22:52:44Z
Indexed on
2012/11/08
23:00 UTC
Read the original article
Hit count: 1375
I am having following problem with the location service with IOS on the simulator:
using phonegap 2.2.0 with xcode 4.5.2,
Cordova.plist EnableLocation = YES
navigator.geolocation.getCurrentPosition(myPositionSuccess, myPositionError, {maximumAge: 300000, timeout:10000, enableHighAccuracy : true});
myPositionSuccess is never called, with following error at navigator.geolocation
locationManager::didFailWithError (null)
I just tried it on the simulator. Any Idea?
© Stack Overflow or respective owner