-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supporting Background Uploads #35
Comments
IIRC, with the extension TUSKit could be modified to chunk the files, upload each, and concatenate them if all the uploads we're successful. I had tested this approach before the extension was added and it's extremely clunky. Are you having problems with the current background uploading? |
Thanks for the info, @cjhenck. It did sound potentially clunky, and I mostly wanted to checkin on if there had been any updates since those discussions had last taken place. Btw, no technical problems running the current implementation, just to make sure that's clear too. |
I'm afraid I can't answer on the progress front unfortunately, since I haven't been using TUSKit recently. Glad the current version is working, though! |
As @cjhenck said, this is the recommended approach from the protocol's point of view. However, I am not sure how far this has been implemented in TUSKit, but @MMasterson should know the details. |
hey @nicolelehrer an update for these types of functions is being worked on currently. @cjhenck do you have examples of your methods? |
Thanks for the update @MMasterson. Do you mean that you'll add api for file chunking, uploading each chunk using |
Thank you for tusKit! Any update on true background uploads? |
@cmrocha no big changes have been made. There are a few suggestions in this thread and others attached to accomplish it. I can find some time in the next few weeks to add some support. Or if you'd like, we accept PRs :) |
Thanks so much for getting back to me! If I come up with a decent solution I will absolutely let everyone know. |
Just seeing this again - these are the problems I remember, but I may be wrong:
Hopefully those are helpful pointers. |
better support being added in We can't fix the overall iOS issue, but do our best to counteract it |
Hi all, thanks for the great client - it was super easy to get up and running fast.
I saw that TUSKit provides a means for asking iOS for more time to finish its upload task before the app moves to the background, by using the method described in "Executing Finite-Length Tasks" of this Apple doc.
Are there any plans to support true background uploads? i.e. the upload continuing despite the user leaving the app for a while. It seems there are some key limitations with Apple API in attempting to do so:
I've seen the discussions on how to work around these limitations here:
Does the above seem to capture the latest efforts in supporting background uploads on iOS using tus?
Are there plans for TUSKit to offer more backgrounding support than is currently provided?
Thank you in advance!
The text was updated successfully, but these errors were encountered: