flutter_uploader
flutter_uploader copied to clipboard
Uploading progress not working properly
Uploading progress updating in bulks rather than on each new progress, which makes the uploading progress very "bulky". It also looks like the progress is falling behind the actual uploading, making it go from 50% to complete in one bulk.
Expected behavior: Progress goes from 0% to 1% to 2% to 3% etc. Actual behavior: Progress goes from 0% to 20% to 40% to 100%.
How to reproduce: Use your code in /example folder
Tested on Android only
Here is a screenshot using the code from /example. You can clearly see it goes from 0 - 3 - 8 - 23 - 47 - 90 making it update in bulks
Just wanted to add that I see this behaviour as well on Android but on iOS progress updates seem to come in more steadily.
I'm seeing the same thing on iOS, with a binary PUT the progress jumps to 100 very quickly (too quickly) but then there is a delay while the request actually completes. However I suspect this is just the way NSURLSession works with PUT?