Closed zwwhappy closed 6 years ago
According to cordova documentation this ErrorUrl
should be defined like this:
<preference name="ErrorUrl" value="error.html"/>
But in reality for Android it should be like that:
<preference name="errorUrl" value="file:///android_asset/www/error.html"/>
Haven't played with iOS, but I guess it has some similar tricks for displaying error page. And it has nothing to do with the plugin.
I've tried it with and without plugin - behaviour is the same: if you set it properly - custom error page is displayed, if not - default one is used.
đ Hi! Thank you for your interest in this repo.
đĸ We are not using nordnet/cordova-hot-code-push anymore, and we lack the manpower and the experience needed to maintain it. We are aware of the inconveniece that this may cause you. Feel free to use it as is, or create your own fork.
đ This will now be closed & locked.
âšī¸ Please see #371 for more information.
when in html a tag has error link, the link url not exist in www forder. so app has a error page in browser. Config.xml ErrorUrl Cordova can set a nice html. But use this plugin the error page is browser default. error like that: File not found in file:///data/data/com.xxx/files/cordova-hot-code-push-plugin/2016.07.24-17.15.31/www/common/img/logo.png