Please provide the following:
- SDK Version: 38
- Platforms(Android/iOS/web/all): all
I’ve been tasked with implementing file upload to a server that implements the S3 multipart upload protocol (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html). I have gotten this working using fetch and the aws-sdk/clients/s3 package which wraps XMLHttpRequests.
However I now have the additional requirement that the uploads need to continue when the app is in the background. I see that FileSystem now has an uploadAsync function that can perform uploads in the background, but it doesn’t seem to support the S3 multipart upload protocol. Is this true?
Is there a way to implement the background functionality using TaskManager and BackgroundFetch (i.e. is it possible to POST data in one of these tasks), or is this something that I would need to eject and write custom native code to implement?