forked from github/cordova-android
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:
parent
5e0c9595c3
commit
47ac514835
@ -189,7 +189,7 @@ public class SystemWebChromeClient extends WebChromeClient {
|
|||||||
CordovaPlugin geolocation = parentEngine.pluginManager.getPlugin("Geolocation");
|
CordovaPlugin geolocation = parentEngine.pluginManager.getPlugin("Geolocation");
|
||||||
if(geolocation != null && !geolocation.hasPermisssion())
|
if(geolocation != null && !geolocation.hasPermisssion())
|
||||||
{
|
{
|
||||||
//cordova.requestPermissions(geolocation);
|
geolocation.cordova.requestPermissions(geolocation, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user