I have to get a user's position in a But the permission request popup never opens. I have set these settings: WebView I do this with the following JavaScript :
function getLocation () {navigator.geolocation.getCurrentPosition (display space, handler); }
ws.setJavaScriptEnabled (true); Ws.setGeolocationEnabled (true); Ws.setJavaScriptCanOpenWindowsAutomatically (true); What is the correct way to reach a user's location from within
Comments
Post a Comment