smanikandan14 / ThinDownloadManager

To download files and to avoid using DOWNLOAD_WITHOUT_NOTIFICATION permission if you are using Android's DownloadManager in your apps.
Apache License 2.0
783 stars 185 forks source link

Remove Download cache files #129

Open geo47 opened 5 years ago

geo47 commented 5 years ago

I am using an internal folder as destination URI and doesn't require files to be cached. But when I download any file, It also keeps in the cache and when I delete my downloaded file and try to download it again the downloader goes in onFaliure method for the first time and clean up the cache, and when trying the second time it starts downloading.

There should be some way to ask if the user wants to store files in cache or not.