I have the following javrascript code:
function showLocation(position) {
geolocationlat = position.coords.latitude;
geolocationlong = position.coords.longitude;
}
function errorHandler(err) {
//handle error
}
navigator.geolocation.getCurrentPosition(showLocation, errorHandler);
it works fine in Android standalone web app but it returns null in ios standalone web app
Any thoughts?
Thanks in advance