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