An error occurred while loading commit signatures
- Nov 03, 2024
-
-
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)
-
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
-
Bram authored
Updated JSON decoding for TaskException that appears to have created this issue. It also resolves issue #406
-
Bram authored
- Oct 24, 2024
-
-
781flyingdutchman authored
Minor typo fix in README.md
-
Ivan Kuznetsov authored
-
Bram authored
-
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)
-
Bram authored
Per #396, because the desktop isolate implementation requires the creation of a new http client for every task, without these changes many connections remain in CLOSE_WAIT state, which eventually bogs down the system.
-
Bram authored
-
- Oct 23, 2024
- Oct 03, 2024
- Oct 01, 2024
-
-
Peter Leibiger authored
-
- Sep 30, 2024
-
-
Peter Leibiger authored
-
Peter Leibiger authored
-
Peter Leibiger authored
-
- Sep 27, 2024
- Sep 26, 2024
-
-
Bram authored
-
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.
-
- Sep 16, 2024
- Sep 05, 2024
-
- Sep 02, 2024
-
-
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.
-
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.
-
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
-
bram authored
Fix #362 by treating the stateLock as a re-entrant lock wehn called from a locked state in EnqueueItem.enqueue
-
- Aug 09, 2024
-
-
bram authored
- Jul 16, 2024
-
-
781flyingdutchman authored
Fix priority for multi-part upload
-
- Jul 13, 2024
-
-
toyozaki authored
-
- Jul 03, 2024
-
-
bram authored
-
781flyingdutchman authored
Update README.md with Kotlin Version
-
- Jul 02, 2024
-
-
Moshe Dicker authored
-