|
@@ -42,6 +42,7 @@ This document lays out the current public properties and methods for the React N
|
42
|
42
|
- [`directionalLockEnabled`](Reference.md#directionalLockEnabled)
|
43
|
43
|
- [`geolocationEnabled`](Reference.md#geolocationenabled)
|
44
|
44
|
- [`allowUniversalAccessFromFileURLs`](Reference.md#allowUniversalAccessFromFileURLs)
|
|
45
|
+- [`allowingReadAccessToURL`](Reference.md#allowingReadAccessToURL)
|
45
|
46
|
- [`useWebKit`](Reference.md#usewebkit)
|
46
|
47
|
- [`url`](Reference.md#url)
|
47
|
48
|
- [`html`](Reference.md#html)
|
|
@@ -795,6 +796,16 @@ Boolean that sets whether JavaScript running in the context of a file scheme URL
|
795
|
796
|
|
796
|
797
|
---
|
797
|
798
|
|
|
799
|
+### `allowingReadAccessToURL`
|
|
800
|
+
|
|
801
|
+A String value that indicates which URLs the WebView's file can then reference in scripts, AJAX requests, and CSS imports. This is only used in `RNCWKWebView` for WebViews that are loaded with a source.uri set to a `'file://'` URL. If not provided, the default is to only allow read access to the URL provided in source.uri itself.
|
|
802
|
+
|
|
803
|
+| Type | Required | Platform |
|
|
804
|
+| ------ | -------- | ------------- |
|
|
805
|
+| string | No | iOS WKWebView |
|
|
806
|
+
|
|
807
|
+---
|
|
808
|
+
|
798
|
809
|
### `useWebKit`
|
799
|
810
|
|
800
|
811
|
If true, use WKWebView instead of UIWebView.
|