-
Notifications
You must be signed in to change notification settings - Fork 24k
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 showing blank page instead of error page when failed to load #11014
Comments
I don't think it is supposed to show an error page when it fails to load - that doesn't seem to be in the spec for webview, for example. Does the underlying platform webview work that way? |
React Native v.0.42.0 This is my code:
and I also have this error View, which is
When I place a console.log, inside the error view, I get this message in the logs, so it means that it is called. But I never get it shown on the screen. Instead I get some failure page, default one from the webview I guess... Testing the error, with an iframe with bad url... Does anyone has any know-how, or can help with, how to get the error view to show up? |
renderLoading={() => <ActivityIndicator size={'small'} />} not work for me, on 0.44.2 for Android |
1 similar comment
renderLoading={() => <ActivityIndicator size={'small'} />} not work for me, on 0.44.2 for Android |
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. |
The problem is not fixed now! React Native: 0.49.3 |
Same for me! |
-------------------NOT FIXED----------------------- |
Faced with same issue. Android API 16. RN 0.55.2 |
The same issue. |
are there any updates? i still face this issue in RN 0.54.4 |
The same issue in RN 0.55.4 |
Seeing the same issue in RN 0.55.4 |
Description
Webview showing blank page instead of error page (Webpage not available page, just like below image link)when failed to load.
http://i.stack.imgur.com/D3JD7.jpg
Reproduction
Close internet connection and try to load a webpage. Page will fail to load but not showing error page, but showing blank page. Actually it showing an error page but with blink og second it turn into blank page.
Solution
Need to fix it so it showing error page.
Additional Information
The text was updated successfully, but these errors were encountered: