cordova-app-loader
cordova-app-loader copied to clipboard
use cordoba-app-loader in ionic ,update(loader.update()) failed
check() success, download() success,(I can find the files in filesystem in chrome) update() failed.
Hi newhzh,
I'm also using it in ionic, and the same problem as yours.
What's more, there is another issue: we use template html file for UIs and what if these files are changed? Seems no easy way to handle this case with cordova-app-loader. Do you use template?
Can you give me a minimal complete test case?
You can simply add the html files to your manifest files. How is this a problem?
you can't update because it throw an error at onDone(cordova-app-loader-complete.js,line 498), the onSingleDownloadProgress function seems undefined, after i change to this
if(onSingleDownloadProgress){ onSingleDownloadProgress(new ProgressEvent()); }
,it update successfully.