Open fabrz opened 6 years ago
The success is in the sense of successfully started downloading that means Plugin has successfully tell OS to start downloading this particular file.
The feature you are asking for is yet to be added to the plugin.
This is implemented in the PULL REQUEST https://github.com/vasani-arpit/cordova-plugin-downloadmanager/pull/2
Unfortunately, it has never been merged.
Yes. I am occupied with other projects. I'll make time for this one.
OK @vasani-arpit. Thanks.
If I'm reading this correctly, the PR is for something else. addCompletedDownload let's you just tell the DownloadManager to add a file. I'm currently using it, but it's getting all screwed up for me, as any file I add isn't able to be opened.
Hi,
Is there a way to open the downloaded file as soon as it's been downloaded? I'm trying to rely on the
success
callback but it looks like that method gets fired before the download it's complete.Hence why I can't find the file in the Download folder of the device yet. I'll share some code with you so you can get a better understanding of it.
Cheers