fluttercommunity / fluttercommunity/flutter_downloader

could you please provide the url of current downloading task to the callback function

Open
#447 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
940
Forks
561
Avg merge
1h 18m
Merged PRs (30d)
1

Description

I need to save some additional data about videos downloading via the library like duration of the video and the size. which I created a table to store them, and the taskId of the DownloadTask class changes when status of it change. like when calling retry function, thus I can't relay on taskId to be the foreign key in my table. so I think maybe providing the url will help because it doesn't change.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the DownloadTask class and the callback function used for download status changes. Check how the taskId changes during retry and where the current download URL is available; done means the callback exposes a stable URL that can be used to associate downloaded video data.

Written by the indexing model from the issue text.

Assessment

Tech stack
flutter, kotlin
Domain
api, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.