- Nov 10, 2024
-
-
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
-
- Nov 08, 2024
-
- 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)
- Oct 24, 2024
-
-
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)
-
- Sep 27, 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.
-
- Aug 09, 2024
-
- May 19, 2024
-
-
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
-
- May 15, 2024
-
- May 10, 2024
-
- Apr 12, 2024
-
-
Bram authored
-
- Apr 08, 2024
-
- Mar 20, 2024
-
- Mar 17, 2024
-
- Mar 11, 2024
-
- Mar 09, 2024
-
-
Bram authored
#264 Adds `UploadTask.fromFile` to create an `UploadTask` from an existing `File` object. Note that this will create a task with an absolute path reference and `BaseDirectory.root`, which can cause problems on mobile platforms, so use with care
-
- Mar 07, 2024
-
-
bram authored
-
- Feb 26, 2024
-
-
bram authored
Conditionally adds the foreground service type to the ForegroundInfo object created in Notifications.kt method displayNotification.
-
- Feb 20, 2024
-
-
bram authored
To specify multiple values for a single name, format the value as '"value1", "value2", "value3"' (note the double quotes and the comma to separate the values).
-
- Feb 14, 2024
-
- Jan 22, 2024
-
- Dec 27, 2023
-
- Dec 22, 2023
-
-
Bram authored
-
- Dec 20, 2023
-
-
bram authored
-
- Dec 11, 2023
-
- Dec 08, 2023
-
- Dec 07, 2023
- Dec 06, 2023
- Dec 05, 2023
-
-
Bram authored
The reason for this change is that the `sqflite` dependency adds significant size to apps, even if they do not use the SQLite functionality.
-
- Dec 04, 2023
- Nov 25, 2023
-
-
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'.
-
- Nov 24, 2023
-
-
bram authored
-
- Nov 17, 2023
-
-
bram authored
Fix merge issues Fix bugs Add README.md and CHANGELOG.md
-
- Nov 13, 2023
-
-
bram authored
-