fluttercommunity / fluttercommunity/flutter_downloader
Downloads don't progress past enqueued.
- Dominant language
- Kotlin
- Stars
- 940
- Forks
- 561
- Avg merge
- 1h 18m
- Merged PRs (30d)
- 1
Description
I'm trying to download files from my webserver, there is required authorization, so I'm sending an authorization header, like so
```
task.taskId = await FlutterDownloader.enqueue(
url: task.link!,
headers: {'authorization': '[Bearer ${store.state.auth.accessToken}]'},
savedDir: _localPath,
saveInPublicStorage: true,
);
```
I have my background isolate running and getting updates, but it just gets the queued update, and nothing else, despite however long I wait.
To reproduce the bug, Just try to download a file and have your background isolate watching. I imagine this might have something to do with authorization, but if that is the case, I would expect some kind of error reporting so I'm not just shooting in the dark like I currently am.
**Expected behavior**
I expect the download to start from the queue instead of just sitting there with the queued status indefinitely.
**Screenshots**
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Device information:**
Iphone SE 3rd generation 16.0 emulator
**Additional context**
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.