Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Crypto C.
10 years agoNew member | Level 1
Upload in background in IOS
Hi, what is the best way to use [_restClient uploadFile ...] for uploading file when the app is in background, knowing that after x minutes apple closes the connection ?
thanks
4 Replies
Replies have been turned off for this discussion
- Crypto C.10 years agoNew member | Level 1
Ah ! forgot ! with Core API on iOS, from my test Core API for iOS stops sending bytes as soon as the app comes in the background ...
- Greg-DB10 years ago
Dropbox Community Moderator
The iOS Core SDK itself doesn't handle running in the background, so you'll need to implement that in your app if you need it. You'll want to refer to Apple's iOS documentation for managing background tasks:
- Crypto C.10 years agoNew member | Level 1
mmmm you're telling me that the official Dropbox app IOS does not use the same API ?
- Greg-DB10 years ago
Dropbox Community Moderator
The iOS Core SDK is just a wrapper that provides functions for accessing the Dropbox Core API. If you need to run tasks in the background, you can do so in your app, and utilize the SDK to make the API calls. (The official Dropbox for iOS app does use the SDK and implements background functionality as necessary like this.)
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!