mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 11:41:08 +00:00
This commit is contained in:
@@ -574,6 +574,13 @@ public class RCTWebViewManager extends SimpleViewManager<WebView> {
|
||||
}
|
||||
}
|
||||
|
||||
@ReactProp(name = "allowFileAccess")
|
||||
public void setAllowFileAccess(
|
||||
WebView view,
|
||||
@Nullable Boolean allowFileAccess) {
|
||||
view.getSettings().setAllowFileAccess(allowFileAccess != null && allowFileAccess);
|
||||
}
|
||||
|
||||
@ReactProp(name = "geolocationEnabled")
|
||||
public void setGeolocationEnabled(
|
||||
WebView view,
|
||||
|
||||
Reference in New Issue
Block a user