DEV Community

Server Broad
Server Broad

Posted on

Answer: How to add a custom error page in Cordova InAppBrowser or hide the error url?

I think I misunderstood your problem, first time, sorry about that. I'm reading again your problem and I'm figuring out what's happening. You need to add a custom configuration at config.xml to redirect to an error page when Cordova detect it. I hope this solve your problem.

<preference name="ErrorUrl" value="myErrorPage.html"/>

Top comments (0)