Skip to content

Commit cf7b6d3

Browse files
committed
add orginWihitelist={['*']} to index.ios.js to fix facebook/react-native#19986 error
1 parent 637e9de commit cf7b6d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

autoHeightWebView/index.ios.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ export default class AutoHeightWebView extends PureComponent {
138138
]}
139139
>
140140
<WebView
141+
originWhitelist={['*']}
141142
ref={this.getWebView}
142143
onError={onError}
143144
onLoad={onLoad}

0 commit comments

Comments
 (0)