Thibault Malbranche
2018-09-14 01:09:39 +02:00
parent 227756a0fc
commit 62b560a546
2 changed files with 9 additions and 0 deletions
@@ -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,