|
@@ -67,6 +67,7 @@ class WebView extends React.Component<WebViewSharedProps, State> {
|
67
|
67
|
javaScriptEnabled: true,
|
68
|
68
|
thirdPartyCookiesEnabled: true,
|
69
|
69
|
scalesPageToFit: true,
|
|
70
|
+ allowFileAccess: false,
|
70
|
71
|
saveFormDataDisabled: false,
|
71
|
72
|
originWhitelist: WebViewShared.defaultOriginWhitelist,
|
72
|
73
|
};
|
|
@@ -143,6 +144,7 @@ class WebView extends React.Component<WebViewSharedProps, State> {
|
143
|
144
|
style={webViewStyles}
|
144
|
145
|
source={resolveAssetSource(source)}
|
145
|
146
|
scalesPageToFit={this.props.scalesPageToFit}
|
|
147
|
+ allowFileAccess={this.props.allowFileAccess}
|
146
|
148
|
injectedJavaScript={this.props.injectedJavaScript}
|
147
|
149
|
userAgent={this.props.userAgent}
|
148
|
150
|
javaScriptEnabled={this.props.javaScriptEnabled}
|