Working on getting the Geolocation Plugin to work by default with the default WebView. Crosswalk will need to make similar modifications.

This commit is contained in:
Joe Bowser 2015-09-18 13:52:12 -07:00
parent 5e0c9595c3
commit 47ac514835

View File

@ -189,7 +189,7 @@ public class SystemWebChromeClient extends WebChromeClient {
CordovaPlugin geolocation = parentEngine.pluginManager.getPlugin("Geolocation");
if(geolocation != null && !geolocation.hasPermisssion())
{
//cordova.requestPermissions(geolocation);
geolocation.cordova.requestPermissions(geolocation, 0);
}
}