capacitor-updater
capacitor-updater copied to clipboard
No clear error message when download fails
When zip download fails for some reason, the plugin just outputs the error "Download failed" Without any clear message / error on what went wrong or why download has failed. Not helpful for debugging / investigating the issue
Make sure your zip file url is HTTPS
Thanks for the feedback, it's added in the roadmap!
Haven't used the plugin for a while because it doesn't work optimally under iOS. Today I wanted to start a new insurance and I also get the message "download failed" in Android, but unfortunately there is no exact description.
The direct download of the file works, but an error message appears via the CapacitorUpdater.download
function.
First of all. Nice plugin! Thanks for this!.
We have exactly the same issue. In the beginning it worked but sometimes the message "Capacitor-updater: download unzip error" comes up and i don't know what went wrong. What failed? The download or the unzipping?
I saw that you use SSZipArchive (https://github.com/Cap-go/capacitor-updater/blob/main/ios/Plugin/CapacitorUpdater.swift#L134). There are some method overloads where you could get error information. I guess this would help quite a lot.
Hey guys it has been updated in v4, can you upgrade and check. ?