dio.download ,Halfway through the download, the app went into the background. Then when I returned to the app, I found that the download had stalled.
Open
Nobody has claimed this yet.
h: need triage
i: no useful information
s: bug
- Dominant language
- Dart
- Stars
- 12.8k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
Package
dio
Version
5.3.3
Operating-System
Android
Adapter
Default Dio
Output of flutter doctor -v
Dart Version
3.4.1
Steps to Reproduce
1.Start the download process.
2.Switch the app to the background.
3.Switch the app to the foreground.
Expected Result
Hope that the switching between front-end and back-end will not get stuck.
Actual Result
The download has been stopped.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the dio.download flow on Android: begin a download, background the app, and return it to the foreground. Trace the download lifecycle around that transition and verify that the download continues rather than stopping after the app resumes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100