fix(Android): geolocation access (#562)
This commit is contained in:
parent
a0daff92c0
commit
409b9ae620
|
@ -167,7 +167,6 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
|
||||||
new LayoutParams(LayoutParams.MATCH_PARENT,
|
new LayoutParams(LayoutParams.MATCH_PARENT,
|
||||||
LayoutParams.MATCH_PARENT));
|
LayoutParams.MATCH_PARENT));
|
||||||
|
|
||||||
setGeolocationEnabled(webView, false);
|
|
||||||
if (ReactBuildConfig.DEBUG && Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
|
if (ReactBuildConfig.DEBUG && Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
|
||||||
WebView.setWebContentsDebuggingEnabled(true);
|
WebView.setWebContentsDebuggingEnabled(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue