unoplatform / uno

Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
https://platform.uno
Apache License 2.0
9.07k stars 735 forks source link

Add support for `BackgroundUploader` #509

Open TopperDEL opened 5 years ago

TopperDEL commented 5 years ago

I'm submitting a...

- Feature request

Current behavior

The API for BackgroundUploader from Windows.Networking.BackgroundTransfer is not supported.

Expected behavior

The API for BackgroundUploader from Windows.Networking.BackgroundTransfer.BackgroundUploader is supported.

Minimal reproduction of the problem with instructions

Try to upload a StorageFile to a URL like this:

BackgroundUploader uploader = new BackgroundUploader();
uploader.SetRequestHeader("KEY", "VALUE");
var upload = uploader.CreateUpload(new Uri("https://URL_TO_UPLOAD_TO"), myStorageFile);
upload.StartAsync();

Environment



Affected platform(s):
- [X] iOS
- [X] Android
- [X] WebAssembly (for me not relevant)
- [ ] Windows
- [ ] Build tasks
TopperDEL commented 5 years ago

BackgroundDownloader might be the same work to do but is not that important for me.

endyb66 commented 4 years ago

Are there any news on this?