npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

cordova-plugin-file-downloader sometimes works and sometimes does'nt

I’am using ‘’ [cordova-plugin-file-downloader]" to download zip file from server and unzip it by using below code
downloader.init({ folder: tour, unzip: true });

it works fine for somedays and suddenly stop working(downloads corrupt file)and later on its start working again …
Can anyone please help me whats going on?

(You might get an answer here, but because this forum is focused on npm, you might want to ask your question somewhere that targets experts with your package. I have moved your topic to #community:javascript)