DEV Community

Server Broad
Server Broad

Posted on

Answer: errorUrl in Cordova Config not working on Android

For me, changing the url to

<preference name="ErrorUrl" value="file:///android_asset/www/error.html" />

worked. You should add this value in the android platform section, since this is android specific.

Also make sure to not set

 <allow-intent href="*" />

otherwise you'll see an error telling you that no activity was found to handle the…

Top comments (0)