Skip to content
Snippets Groups Projects
  1. Nov 10, 2024
    • bram's avatar
      V8.8.0 iCloud backup config, allGroups parameter and bug fix · 8c7c00c3
      bram authored
      * [iOS] Adds configuration option to exclude downloaded files from iCloud backup
      * Adds `allGroups` parameter to `allTasks` and `allTaskIds` methods, to retrieve all tasks regardless of `group`
      * [Android] Fixes issue with un-commanded restart of a download in specific scenarios
      8c7c00c3
  2. Nov 08, 2024
  3. Nov 03, 2024
    • Bram's avatar
      Update GitHub build.yaml and CHANGELOG.md to reflect new minimum SDK (Dart 3.2... · b80fba5e
      Bram authored
      Update GitHub build.yaml and CHANGELOG.md to reflect new minimum SDK (Dart 3.2 required, included in Flutter 3.16.0)
      V8.7.0
      b80fba5e
    • Bram's avatar
      V8.7.0 Android URI, ParallelDownload bug fix, mime package dependency · 8739fdf2
      Bram authored
      * Adds option to specify a file location for upload using a Mediastore URI on Android, using `UploadTask.fromUri`. A Mediastore URI can also be requested from methods `moveToSharedStorage` and `pathInSharedStorage` by adding `asAndroidUri = true` to the call.
      * Fixes bug with ParallelDownload when an error occurs
      * Updates dependency on package mime to 2.0. Use `dependency_overrides` in pubspec.yaml to resolve (background_downloader works with 1.0 and 2.0)
      8739fdf2
  4. Oct 24, 2024
    • Bram's avatar
      Update CHANGELOG, README and version number · 3de097fc
      Bram authored
      * Adds option for partial uploads, for binary uploads only. Set the byte range by adding a "Range" header to your binary `UploadTask`, e.g. a value of "bytes=100-149" will upload 50 bytes starting at byte 100. You can omit the range end (but not the "-") to upload from the indicated start byte to the end of the file.  The "Range" header will not be passed on to the server. Note that on iOS an invalid range will cause enqueue to fail, whereas on Android and Desktop the task will fail when attempting to start.
      * Fixes issue in iOS when multiple Flutter engines register the plugin
      * Fixes issue with lingering HTTP connections on desktop
      * Adds CI workflow (formatting, lints, build Android, build iOS)
      V8.6.0
      3de097fc
  5. Sep 27, 2024
    • Bram's avatar
      V8.5.6 bug fixes · 3ec71d67
      Bram authored
      * Fixes desktop upload cancellation bug
      * Adds Url-encoding of Content-Disposition header for binary uploads. Note for multipart uploads, filename is 'browserEncoded' which does not encode Non-ASCII characters
      * Fixes bug with creation of unique filename on iOS
      V8.5.6
      3ec71d67
  6. Sep 05, 2024
    • Bram's avatar
      V8.5.5 fixes issue #372 · 0fd47563
      Bram authored
      Serializes database updates for TaskRecords, preventing slower writes to finish after a subsequent faster write, which can lead to an incorrect database state.
      V8.5.5
      0fd47563
  7. Sep 02, 2024
    • bram's avatar
      V8.5.4 · 8331c9ad
      bram authored
      * If the value of a `fields` entry of an `UploadTask` is in JSON format (defined as start/end with {} or []) then the field's mime-type will be set to `application/json`, whereas it would not have been set prior
      * Fixes an issue on iOS where use of the holding queue can lead to deadlock
      * For Windows, when using `BaseDirectory.root`, fixes an issue with `Task.split` and `Task.baseDirectoryPath`. When using `BaseDirectory.root` on Windows, your task's `directory` must contain the drive letter.
      V8.5.4
      8331c9ad
  8. Aug 09, 2024
  9. May 19, 2024
    • Bram's avatar
      V8.5.2 · ed43716e
      Bram authored
      Removes references to `dart:html` to allow web compilation using WASM. Note the package still does not work on the web
      
      Adds auto-decode of `post` field if Map or List. Throws if `jsonEncode` cannot convert the object, in which case you have to encode it yourself using a custom encoder
      V8.5.2
      ed43716e
  10. May 15, 2024
  11. May 10, 2024
  12. Apr 12, 2024
  13. Apr 08, 2024
  14. Mar 20, 2024
  15. Mar 17, 2024
  16. Mar 11, 2024
  17. Mar 09, 2024
  18. Mar 07, 2024
  19. Feb 26, 2024
  20. Feb 20, 2024
  21. Feb 14, 2024
  22. Jan 22, 2024
  23. Dec 27, 2023
  24. Dec 22, 2023
  25. Dec 20, 2023
  26. Dec 11, 2023
  27. Dec 08, 2023
  28. Dec 07, 2023
  29. Dec 06, 2023
  30. Dec 05, 2023
  31. Dec 04, 2023
  32. Nov 25, 2023
    • bram's avatar
      Add BaseDirectory.root · b0b58654
      bram authored
      You can now pass an absolute path to the downloader by using `BaseDirectory.root` combined with the path in `directory`. This allows you to reach any file destination on your platform. However, be careful: the reason you should not normally do this (and use e.g. `BaseDirectory.applicationDocuments` instead) is that the location of the app's documents directory may change between application starts (on iOS, and on Android in some cases), and may therefore fail for downloads that complete while the app is suspended.  You should therefore never store permanently, or hard-code, an absolute path, unless you are absolutely sure that that path is 'stable'.
      b0b58654
  33. Nov 24, 2023
  34. Nov 17, 2023
  35. Nov 13, 2023
Loading