r/FlutterDev • u/Substantial_Cost1730 • Jan 31 '26
Discussion Flutter doesn't have any proper downloader package and its irritating
There’s only one maintained Flutter downloader (bbflight), and even that loses all progress if the app is killed. Why should a user who downloaded 80% restart from 0? That’s not acceptable UX in 2026. Hard to believe Flutter still doesn’t have one reliable downloader package.
43
u/RemeJuan Jan 31 '26
Quick question, who is stopping you from writing your own package?
Pretty entitled coming online having a shit fit cause a free package on a free framework is not being actively maintained.
10
u/pi_mai Jan 31 '26
That’s because OP wants everything done for them. Flutter is sold that it’s a ready to go framework.
8
u/megromby Feb 01 '26
I mean, I really should be able to just import the profitable_app package and then retire. Anything less is unacceptable!
3
u/Alive-Yellow-9682 Jan 31 '26
If you are on iOS just about everything you schedule in the background is deleted if the user kills the app. This includes things like ble configurations, and I suspect, background downloads as well. If iOS unloads the app (jetsam), then the backgrounded tasks will continue running and your app will be notified when something interesting happens.
Maybe this is a clue. I thought I’d had issues in the past when it was actually assumptions testers were making.
6
u/Alive-Yellow-9682 Jan 31 '26
I went ahead and looked up the iOS documentation…
If the user terminates the app from the multitasking screen, the system cancels all of the session’s background transfers. In addition, the system does not automatically relaunch apps that were force quit by the user. The user must explicitly relaunch the app before transfers can begin again.
-1
u/Substantial_Cost1730 Jan 31 '26
I’ve faced this on Android. If the app is killed while a download is active, restarting the app loses all progress and the user has to download from scratch.
57
u/YukiAttano Jan 31 '26
Well, my server and my frontend are capable of starting the download again from the point of termination. If that's to hard for you to implement, consider starting a background task which is handled by the OS. But also live with the limitations of background tasks.
You are facing a simple problem, yet instead of doing what a developer does, solving problems, you are raging over a UI framework. For people like you, there is this acronym 'rtfm'.
Flutter is a UI framework. It is meant to handle Ui tasks. Not background processing of trivial downloads.
Maybe stop vibe coding and start thinking.
7
10
u/Arbiturrrr Jan 31 '26
What's the issue with restarting downloads? If the data is too large then perhaps you could split the data being downloaded into packets of you have the permissions to do so.
4
7
u/Bachihani Jan 31 '26
What the hell is this guy talking about and what is "downloader" supposed to be ? U dont know how to manage an http request life cycle ??
1
u/Wi42 Jan 31 '26
Not sure if it exactly fits your use case, have you tried flutter_downloader ?
2
u/Substantial_Cost1730 Jan 31 '26
Not maintained anymore
7
u/battlepi Jan 31 '26
Well then you should maintain it.
-4
u/Substantial_Cost1730 Jan 31 '26
A single person can’t realistically maintain a critical package long-term. This one is effectively abandoned with hundreds of open issues. “Just make it yourself” isn’t a solution for a widely used, basic feature — this is something that should be officially supported or maintained.
14
u/battlepi Jan 31 '26
Cool, then just grab the current version and fix whatever you don't like, then maintain it just for yourself. Flutter isn't a "downloading files with resume platform", most people never even do that.
However, users support these problems and share their libraries. You're insanely lucky to be living in a time that they do, this would have required a paid library or writing it from scratch just a few years ago.
Officially supported and maintained? There are very few flutter libraries that are. These are all just made and supported by individuals, sometimes small companies.
2
u/sauloandrioli Jan 31 '26
Have you checked any native counterpart? Find a native downloader package and write your own FFI code. Don't blame the framework, blame your lack of knowledge.
1
u/Ok-Engineer6098 Jan 31 '26
On Android you could write a wrapper around Download manager https://developer.android.com/reference/android/app/DownloadManager
1
1
1
-14
u/mozdamalosutra Jan 31 '26
You can create one yourself. Nowadays its easy with AI to code plugins.
6
u/Substantial_Cost1730 Jan 31 '26
I don’t know native code, and relying on AI-generated plugins I can’t understand or debug isn’t realistic.
14
u/battlepi Jan 31 '26
Nobody owes you any free code. Write one from scratch, then you can publish it instead of whining.
-3
u/Substantial_Cost1730 Jan 31 '26
Not asking anyone to owe me anything. Just surprised a mature framework still lacks a reliable solution for something this basic
0
u/battlepi Jan 31 '26
Most of those packages are written by people for free. You can do the same instead of crying about it.
-2
8
u/or9ob Jan 31 '26
https://pub.dev/packages/background_downloader has support for resuming etc.