Skip to main content

durable_queue_transfer 1.0.1 copy "durable_queue_transfer: ^1.0.1" to clipboard
durable_queue_transfer: ^1.0.1 copied to clipboard

Uploads and downloads for durable_queue that keep going after the app is minimised or closed, run by background_downloader, with the queue's retries and dependencies.

1.0.1 #

  • Requires durable_queue 1.1.0 or later. No other changes.

1.0.0 #

  • First stable release, for durable_queue 1.0. No API changes from 0.2.1; breaking changes now wait for 2.0.

0.2.1 #

  • Transfer progress reaches the queue (DurableQueue.progressOf, DurableQueue.progress). start asks background_downloader for progress updates unless the transfer asked for none. QueueTransfers(reportProgress: false) turns this off.
  • dispose removes every callback of the transfers' group.
  • Requires durable_queue 0.5.12 or later.

0.2.0 #

  • Pause and resume transfers with DurableQueue.hold and release. Downloads created with allowPause: true are paused by background_downloader and continue where they stopped. Other transfers are cancelled and start again from the beginning once released, without counting the interrupted attempt. reconcile applies holds the app did not get to.
  • A transfer restarted after a hold gets a new id (dq-<attempt>.<n>-<queue task id>), so late updates of the stopped transfer are not applied to the new one.
  • Requires durable_queue 0.5.9 or later.

0.1.2 #

Documentation only; no code changes.

  • pubspec: a screenshot for pub.dev.

0.1.1 #

Documentation only; no code changes.

  • README: a demo GIF and links to demo videos on a real iPhone and Android phone.

0.1.0 #

  • Initial release.
  • QueueTransfers: a handler starts an upload or download with transfers.start(context, task) and returns; background_downloader runs it while the app is in the background or closed, and the queue task waits for the result (handed off, needs durable_queue 0.5.4).
  • Results become queue outcomes: success completes the task (after an optional onComplete with the response), failure fails it so the task type's retry rules apply, and a cancelled transfer cancels it. Cancelling the queue task cancels the transfer.
  • attach() applies results that arrived while the app was closed, reschedules transfers killed with the app, and fails hand-offs whose transfer is lost (TransferLostException), so they retry.
  • isRetryableTransferError: a retryIf rule for transfers.
  • TransferException, TransferLostException, TransferEnqueueException.
  • Requires durable_queue 0.5.4 or later, background_downloader 9.6.4 or later, and Flutter 3.47 or later.
0
likes
160
points
1.29k
downloads
screenshot

Documentation

API reference

Publisher

verified publisherboffincoders.com

Weekly Downloads

Uploads and downloads for durable_queue that keep going after the app is minimised or closed, run by background_downloader, with the queue's retries and dependencies.

Repository (GitHub)
View/report issues
Contributing

Topics

#queue #upload #download #background #offline

License

MIT (license)

Dependencies

background_downloader, durable_queue, flutter

More

Packages that depend on durable_queue_transfer