cordova-plugin-file-downloader
cordova-plugin-file-downloader copied to clipboard
Downloader.localFolder.toURL is not a function.
I've been having the issue mentioned here:
Downloader.localFolder.toURL is not a function.
This error happens the second time I try to download a file this way:
downloader.init({folder: "testApp"});
downloader.get("http://yourhost.de/some.zip");
I was actually able to solve it thanks to this comment: https://github.com/fastrde/cordova-plugin-fastrde-downloader/issues/15#issuecomment-216864526
I think it should be documented that downloader.get
can only be executed after DOWNLOADER_initialized
has triggered.
Would it be possible to add this piece of information in the readme?