Pārlūkot izejas kodu

fix(Android): geolocation access (#562)

Adrian Rangel 5 gadus atpakaļ
vecāks
revīzija
409b9ae620

+ 0
- 1
android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java Parādīt failu

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