Open felipegmg opened 1 month ago
Hi
As you can see here:
ensureDownloadsAreRunning
is just wrapper around checkForExistingDownloads
to get tasks and call pause
& resume
on them to ensure they're running. It's good to call this method when app resumed from background - in case when you have problem when downloads stuck sometimes.
So you don't need to call checkForExistingDownloads
as a preparation
checkForExistingDownloads
is good to use on app startup when you want to re-attach those tasks to your app logic
Hi! Im in doubt which method i must use. In documentation, the "check" method is used as a preparation of "ensure" method, but in the same times, the documentation has said that those two methods are used to resume a download. So, my question is: Can I use only the checkForExistingDownloads to resume a download, in view of "ensure" method can only been used in iOS devices. Tks a Lot!