Ordered chunked upload tasks in file provider extension

Hi,

We want to implement a file provider extension that uses importDocument to upload files to external cloud storage providers like Dropbox or OneDrive.

Most of these APIs require an "ordered" chunked upload so we cannot start several parallel URLSessionUploadTasks within our background configured URLSession.

Being suspended and sequentializing the chunked upload tasks "manually", we run into increased time penalties within host app's UIApplicationDelegate (handleEventsForBackgroundURLSession).

Apple does not recommend this "manually" anyway.

Is there any best practice how to perform an ordered execution of tasks within a file provider extension?

Kind regards,
Florian
Did you come up with a solution? I'm facing the same problem.
Ordered chunked upload tasks in file provider extension
 
 
Q