-
Notifications
You must be signed in to change notification settings - Fork 976
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
[Feature]: Customizable "Webpage not available" screen #7536
Comments
I have found a workaround. I created a custom
The custom error screen basically says that something went wrong and it provides a "Return home" button. Tapping the button will navigate the user to a new Bridge Activity, giving them a fresh start without needing to kill the app. If the original issue persists (e.g. they still lack a data connect), the resulting error will simply navigate them back to our custom error screen. Unfortunately, we cannot give the user any meaningful message about what went wrong because the |
This is already possible, check |
Thanks for sharing! Adding
When I recreate the state mentioned above, I am brought to the "Webpage not available" screen with the offending URL being |
If you are using |
Great! I'm glad to hear it points to a local file. Regarding the error I see, perhaps my |
Description
I would like to be able to provide a custom screen for when web pages are not available.
Platforms
Request or proposed solution
A coworker occasionally sees a "Webpage not available" screen while using our Android Capacitor app. While the particular cause still needs to be investigated, the issue relevant here is the standard error screen does not look very good nor is there a way to refresh the page. So - a user that arrives at this screen does not have any path to recovery other than killing and reopening the app.
We are also able to reproduce the issue in airplane mode.
I've been asked to find a way to customize it. I could start overriding things, but issue #2751 seems to suggest that this is a bad idea. Is there an existing way to customize this screen? If not, could such a feature be added in the future?
Thanks!
Alternatives
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: