fix(Android): geolocation access (#562)

This commit is contained in:
Adrian Rangel 2019-05-16 17:25:40 -05:00 committed by Thibault Malbranche
parent a0daff92c0
commit 409b9ae620
1 changed files with 0 additions and 1 deletions

View File

@ -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);
}