Skip to content

Fix enqueue, resume and retry callback for Android.#284

Open
addie9000 wants to merge 3 commits intofluttercommunity:masterfrom
initig:fix_android_send_update_progress
Open

Fix enqueue, resume and retry callback for Android.#284
addie9000 wants to merge 3 commits intofluttercommunity:masterfrom
initig:fix_android_send_update_progress

Conversation

@addie9000
Copy link
Copy Markdown
Contributor

In Android, it seems that the callback registered by FlutterDownloader.registerCallback method does not work with enqueue, resume and retry.
Because sendUpdateProgress does not work due to there is no handler for "updateProgress".
I look back the code history and find that before commit 03544c7 it was handle at FlutterDownloader.registerCallback.
So I put that code to the same place.

This could fixes #191

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The callback function is not executed, the task status is "enqueued" in the database

1 participant