Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

addie9000
Copy link
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