Fetch
Fetch copied to clipboard
File has 0 bytes when a completed download is started again.
Sample: https://github.com/aartikov/Fetch-Bug
Steps to reproduce:
- Remove line
fetch.remove(download.id) // Workaround for https://github.com/tonyofrancis/Fetch/issues/553 - Select a directory, download file.
- Press "Remove".
- Press "Download". File is downloaded immediately. File size is zero.
@aartikov. Is this issue happening for the same download request or different download request with different url?. Does the app have the proper write permissions?. Same issue on physical device and emulator? Different Android Versions?
@tonyofrancis It is the same request - the same http url and the same local file uri. The app has permissions, because it can create a file. I have tried on a device with Android 9 and on emulators with Android 9 and Android 11. The same issue.