mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-22 00:32:55 +08:00
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");
|
||||
if(geolocation != null && !geolocation.hasPermisssion())
|
||||
{
|
||||
//cordova.requestPermissions(geolocation);
|
||||
geolocation.cordova.requestPermissions(geolocation, 0);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user