flutter_uploader icon indicating copy to clipboard operation
flutter_uploader copied to clipboard

Uploading progress not working properly

Open jeghedderchristoffer opened this issue 3 years ago • 3 comments

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

jeghedderchristoffer avatar Jun 09 '21 09:06 jeghedderchristoffer

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

image

jeghedderchristoffer avatar Jun 09 '21 09:06 jeghedderchristoffer

Just wanted to add that I see this behaviour as well on Android but on iOS progress updates seem to come in more steadily.

spatialbits avatar Jun 03 '22 21:06 spatialbits

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?

barees63 avatar Aug 03 '22 08:08 barees63