cordova-app-loader icon indicating copy to clipboard operation
cordova-app-loader copied to clipboard

use cordoba-app-loader in ionic ,update(loader.update()) failed

Open newhzh opened this issue 9 years ago • 3 comments

check() success, download() success,(I can find the files in filesystem in chrome) update() failed.

newhzh avatar Dec 11 '15 12:12 newhzh

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?

originrobot avatar Dec 23 '15 10:12 originrobot

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?

markmarijnissen avatar Jan 14 '16 09:01 markmarijnissen

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.

pengkobe avatar Sep 24 '16 04:09 pengkobe