fluttercommunity / flutter_uploader

background upload plugin for flutter
MIT License
212 stars 144 forks source link

.req files on iOS are never deleted after successful completion of request #239

Open jaysignorello opened 2 years ago

jaysignorello commented 2 years ago

The request files continue to persist, even after a task has been successfully completed. This causes the app's storage usage to continually grow without being able to clear it.

ened commented 2 years ago

That is a major bug, PRs welcome!

jaysignorello commented 2 years ago

@ened Working towards it. First I realized that we need to name the req files with the taskId to make it easier to clean up.

https://github.com/jaysignorello/flutter_uploader/commit/e0e5e9d82aae7afe5adde1a1b9f363513a61b545