Skip to content
Snippets Groups Projects
  1. 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
    • Bram's avatar
      [Android] Use Mediastore URI for file uploads (feature #398) · dfead4bc
      Bram authored
      Adds UploadTask.fromUri that sets the file to be uploaded based on a Mediastore URI. For binary uploads only, and only when Android OS supports it (API 30+)
      
      Also adds `asAndroidUri` argument to `moveToSharedStorage` and `pathInSharedStorage` to return a URI instead of a file path, if possible
      dfead4bc
    • Bram's avatar
      Fix for #383 · df9b60e8
      Bram authored
      Updated JSON decoding for TaskException that appears to have created this issue. It also resolves issue #406
      df9b60e8
    • Bram's avatar
      Update mime dependency · 0d8e1da1
      Bram authored
      0d8e1da1
  2. Oct 24, 2024
  3. Oct 23, 2024
  4. Oct 03, 2024
  5. Oct 01, 2024
  6. Sep 30, 2024
  7. Sep 27, 2024
  8. Sep 26, 2024
    • Bram's avatar
      Added upload cancellation test for PR #376 · 301bdb99
      Bram authored
      301bdb99
    • Bram's avatar
      Further changes to binary upload filename encoding, amends PR #376 · 8812ffe2
      Bram authored
      Added Uri-encoding in Android and iOS for binary uploads (untested)
      Removed Uri-encoding that was added for multi-part uploads, as that is a significant change and the documentation is inconclusive as to whether that is better
      
      Serializes database updates for TaskRecords, preventing slower writes to finish after a subsequent faster write, which can lead to an incorrect database state.
      8812ffe2
  9. Sep 16, 2024
  10. 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
  11. 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
    • bram's avatar
      Fixes #293 and implements alternative to PR #347 · dbd719da
      bram authored
      Specific to the Windows platform, which contains a drive letter in absolute paths, the functions Task.split and Task.baseDirectoryPath
      did not return the correct values when the baseDirectory was set to baseDirectory.root.
      dbd719da
    • bram's avatar
      Addresses #371 by setting mimetype to application/json if the provided field... · 3e0f8550
      bram authored
      Addresses #371 by setting mimetype to application/json if the provided field value starts and ends with {} or [], suggesting this is a JSON object
      3e0f8550
    • bram's avatar
      Fix #362 by treating the stateLock as a re-entrant lock wehn called from a... · b1127a3a
      bram authored
      Fix #362 by treating the stateLock as a re-entrant lock wehn called from a locked state in EnqueueItem.enqueue
      b1127a3a
  12. Aug 09, 2024
  13. Jul 16, 2024
  14. Jul 13, 2024
  15. Jul 03, 2024
  16. Jul 02, 2024
Loading