Browse Source

fix(Android): geolocation access (#562)

Adrian Rangel 5 years ago
parent
commit
409b9ae620

+ 0
- 1
android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java View File

@@ -167,7 +167,6 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
167 167
       new LayoutParams(LayoutParams.MATCH_PARENT,
168 168
         LayoutParams.MATCH_PARENT));
169 169
 
170
-    setGeolocationEnabled(webView, false);
171 170
     if (ReactBuildConfig.DEBUG && Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
172 171
       WebView.setWebContentsDebuggingEnabled(true);
173 172
     }