homerlex opened a new issue, #1690: URL: https://github.com/apache/cordova-android/issues/1690
# Bug Report ## Problem `ErrorURL` preference is not working ### What is expected to happen? When there is an error loading a remote page to the webview we expect the error page to load ### What does actually happen? The error page doesn't load. We get a screen that says `Webpage not available` `net::ERROR_CONNECTION_REFUSED` ## Information We have an error.html page. We have the following in our config.xml: `<preference name="ErrorURL" value="file:///android_asset/www/error.html" />` It used to work that when the app could not load a remote page to the webview this error page would be rendered. We don't know when this broke but assume it was when we upgraded the cordova Android platform. I don't see any documentation the usage of `ErrorURL` has changed. Is there a known issue or are we no longer using it properly? I also tried this: `<preference name="ErrorURL" value="error.html" />` ### Command or Code `<preference name="ErrorURL" value="file:///android_asset/www/error.html" />` in `config.xml` ### Environment, Platform, Device Cordova Android Platform: android 12.0.1 Device running Android 13 ### Version information Cordova Android Platform: android 12.0.1 cordova --version - 12.0.0 ([email protected]) Compiled on Windows 12 No Plugins - tested with clean HelloWorld project ## Checklist - [x ] I searched for existing GitHub issues - [x ] I updated all Cordova tooling to most recent version - [x ] I included all the necessary information above -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
