You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
priya t.
10 years agoNew member | Level 1
Dropbox iOS Core SDK - How to continue downloads in background or when the screen is locked?
The download stops in iOS [Core SDK] when the screen is locked or when the app is inactive. As per iOS standards, the download should continue up to 10 minutes and NSURLSession
takes care of it. But in iOS Core SDK, the download stops as soon as the screen is locked. If I use BackgroundTaskIdentifier
, this problem is solved. Can you please help me with this? Is there any other solution for this?
- Greg-DBDropbox Staff
Unfortunately, the Dropbox iOS Core SDK doesn't provide any background support for you. It's mainly just a wrapper around calling the Core API HTTP endpoints. It also doesn't use
NSURLSession
. That being the case, if you need background support you'll need to implement that into your app using Apple's standard background task APIs, as you mentioned:I don't believe we have any samples available that do that with the iOS Core SDK though.
Sorry I don't have any better resources available for you, but I'll pass this along as a feature request.
- priya t.New member | Level 1
thanks @Gregory.
- tipplersrebellionNew member | Level 2
Locked screen while downloading files. I have an android
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,912 PostsLatest Activity: 2 hours agoIf 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 or Facebook.
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!