react-native: webview release source={require(xxx.html)} not work
- Provide a minimal code snippet / rnplay example that reproduces the bug.
<WebView source={require('./helloworld.html')} />
ios release/debug is OK, android debug is OK too, only broken on android release versions, is blank page, nothing rendered.
- [0.27.rc1] What’s the version of React Native you’re using? 0.27.rc1
- [android] Does this occur on iOS, Android or both? android release
- [mac] Are you using Mac, Linux or Windows? mac
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 14
- Comments: 23 (6 by maintainers)
Commits related to this issue
- Fix Android WebView not displaying bundled resources This was seen in release builds see the following issues: facebook/react-native#16133 facebook/react-native#7924 — committed to jeanregisser/react-native by jeanregisser 7 years ago
- Fix the bug when make build the webview fail in Android. It is a knowled bug in react-native: https://github.com/facebook/react-native/issues/7924 https://github.com/facebook/react-native/issues/6004 ... — committed to Scriptonita/qa-react-native-technical-test by deleted user 6 years ago
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we’re automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.
this works as for me!!!
#16133 just ckeckout my answer it worked for me i used ckeditor