Closed virdesai closed 5 years ago
@Marcsimm I don't have the ability to merge it otherwise I would
in the mean time, you could use this command after installing:
sed -i '' 's/<WebView/<WebView originWhitelist={["*"]}/' ./node_modules/react-native-remote-svg/SvgImage.js
@virdesai Sorry for the delay. Can you provide more detail about how this change helps or the problem it solves?
Thanks
@seekshiva on the current version of react-native, 0.56.0, WebView on iOS cannot load local assets without this wildcard origin whitelisting
I had the same problem after upgrading to 0.56 and the solution that @virdesai provides solves it 👍
The issue is described here https://github.com/facebook/react-native/issues/19986
Maybe it is the source of the problem in this issue as well? https://github.com/seekshiva/react-native-remote-svg/issues/19
When can this be merged? this is quite urgent for us