-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
webview release source={require(xxx.html)} not work #7924
Comments
@facebook-github-bot label Android |
1 similar comment
@facebook-github-bot label Android |
I'm having the same issue with 0.26.3. Any known workarounds? |
The same issue with 0.27.2 |
It happens on iOS as well: #8996 |
How to solve? |
happens on android release build, seems to be working on emulator. the url somehow points to |
same here 0.37 - onload event is fired but only white page is shown. what's funny that I could not "reuired" html between apk assets but maybe it is hidden somewhere else. |
same here 0.39.2, When I release andorid apk, webview can not load html by require('./index.html') , but ios work well. |
Facing same issue 0.38.1. Please tell how to solve or some workaround for webViewBridge? |
SameProblem. |
You might wanna check this solution. |
Still seeing this with 0.42 |
this works as a workaround for me: #505 (comment) |
I'm running into this issue on 0.44 as well. |
HTML files still not being packaged in Android release on React Native 0.45.1 |
When will this be fixed? This is really annoying.. |
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. |
@hramos Please reopen this issue, its behaviour is different between ios and android release version Is this a bug report?Yes Have you read the Contributing Guidelines?Yes EnvironmentEnvironment: Packages: (wanted => installed) Steps to Reproduce(Write your steps here:)
Expected Behavior
Actual BehaviorNothing. Reproducible Demo |
I create new issue |
@HHuiHao Great |
This was seen in release builds see the following issues: facebook#16133 facebook#7924
#16133 |
It is a knowled bug in react-native: facebook/react-native#7924 facebook/react-native#6004 facebook/react-native#505 (comment)
<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
android release
mac
The text was updated successfully, but these errors were encountered: