mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 11:41:08 +00:00
fix(Android): geolocation access (#562)
This commit is contained in:
committed by
Thibault Malbranche
parent
a0daff92c0
commit
409b9ae620
@@ -167,7 +167,6 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
|
||||
new LayoutParams(LayoutParams.MATCH_PARENT,
|
||||
LayoutParams.MATCH_PARENT));
|
||||
|
||||
setGeolocationEnabled(webView, false);
|
||||
if (ReactBuildConfig.DEBUG && Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
|
||||
WebView.setWebContentsDebuggingEnabled(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user