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
       new LayoutParams(LayoutParams.MATCH_PARENT,
167
       new LayoutParams(LayoutParams.MATCH_PARENT,
168
         LayoutParams.MATCH_PARENT));
168
         LayoutParams.MATCH_PARENT));
169
 
169
 
170
-    setGeolocationEnabled(webView, false);
171
     if (ReactBuildConfig.DEBUG && Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
170
     if (ReactBuildConfig.DEBUG && Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
172
       WebView.setWebContentsDebuggingEnabled(true);
171
       WebView.setWebContentsDebuggingEnabled(true);
173
     }
172
     }