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
darh
3 years agoHelpful | Level 6
No iPhone background photo upload
I am struggling to find up-to-date information on whether or not Dropbox will actually upload photos from the iPhone when the app is in the background. For me it does not.
Old posts imply that Drop...
- 3 years ago
Hey darh,
I'm really sorry you have been getting conflicting information. I'm an engineer who works on the iOS Camera Uploads feature and I am going to do my best to explain why this seems broken and give you a complete and correct picture of how the feature works. 🙂
Firstly, we do support background uploading of images using our Camera Uploads feature. In fact, most uploads happen in the background. Millions of images are uploaded this way every month using the Dropbox iOS app. However, it works very differently than most users expect. This is where the "the limitation is because of Apple" part comes in.
On iOS, there is no way for an application (besides Apple's applications) to stay running indefinitely in the background. We can only request time and wait for it to be granted by iOS. Usually we get it for somewhere between 30 seconds to 4 minutes at a time depending on a whole bunch of variables like whether you're actively using the device or whether it is charging. We also do not get notified directly about new images being taken with the camera. We simply have to wait until iOS gives us time in the background to check.
We no longer use location services to get background time, as we agree with you that it was not a good way of doing things and iOS has given us Background App Refresh, described above, to get background time properly. This new way of getting background time did not exist back when the original Camera Uploads feature was designed. Back then, many applications used location services to get reliable background time, even if they didn't need location information.
So you're probably seeing behavior from the app that looks like it's not uploading in the background because you launch the Dropbox app and watch it upload your latest images. However, I can tell you from what I see we are getting some background time on your device and appear to be properly uploading photos when new ones are available. This background behavior is very sporadic and much of it is likely to happen when you're not using your device. This way, it doesn't drain your battery or slow down your phone when you are using it. If you need something synced right away, the only way to be sure it happens is to launch the Dropbox app directly.
I understand this is not ideal, but it is the best we can do with the limitations of the iOS operating system. I'm sorry you have had so much trouble getting proper information on this behavior. I hope I've clarified things for you.
I'm working with our support staff to clarify how this works so that users like yourself get the correct information the first time they ask. If you have further questions, please let me know!
Jim
Software Engineer @ Dropbox
jboulter
Dropbox Staff
Hey darh,
I'm really sorry you have been getting conflicting information. I'm an engineer who works on the iOS Camera Uploads feature and I am going to do my best to explain why this seems broken and give you a complete and correct picture of how the feature works. 🙂
Firstly, we do support background uploading of images using our Camera Uploads feature. In fact, most uploads happen in the background. Millions of images are uploaded this way every month using the Dropbox iOS app. However, it works very differently than most users expect. This is where the "the limitation is because of Apple" part comes in.
On iOS, there is no way for an application (besides Apple's applications) to stay running indefinitely in the background. We can only request time and wait for it to be granted by iOS. Usually we get it for somewhere between 30 seconds to 4 minutes at a time depending on a whole bunch of variables like whether you're actively using the device or whether it is charging. We also do not get notified directly about new images being taken with the camera. We simply have to wait until iOS gives us time in the background to check.
We no longer use location services to get background time, as we agree with you that it was not a good way of doing things and iOS has given us Background App Refresh, described above, to get background time properly. This new way of getting background time did not exist back when the original Camera Uploads feature was designed. Back then, many applications used location services to get reliable background time, even if they didn't need location information.
So you're probably seeing behavior from the app that looks like it's not uploading in the background because you launch the Dropbox app and watch it upload your latest images. However, I can tell you from what I see we are getting some background time on your device and appear to be properly uploading photos when new ones are available. This background behavior is very sporadic and much of it is likely to happen when you're not using your device. This way, it doesn't drain your battery or slow down your phone when you are using it. If you need something synced right away, the only way to be sure it happens is to launch the Dropbox app directly.
I understand this is not ideal, but it is the best we can do with the limitations of the iOS operating system. I'm sorry you have had so much trouble getting proper information on this behavior. I hope I've clarified things for you.
I'm working with our support staff to clarify how this works so that users like yourself get the correct information the first time they ask. If you have further questions, please let me know!
Jim
Software Engineer @ Dropbox
darh
3 years agoHelpful | Level 6
Thanks, Jim. I appreciate your taking the time to explain.
IMHE (in my humble experience) if I take a bunch of pictures and don't launch the Dropbox app in the interim, those pics are not uploaded even weeks later. Maybe it has something to do with my usage patterns, so the Dropbox app never gets any background cycles to even check for new photos.
There are a lot of comments online about how Apple can do this with iCloud yet you cannot -- I surmise this is yet another scenario where Apple hasn't opened the dev APIs sufficiently, and iCloud uses Apple's own access systems they won't allow you to touch.
I'm going to try to implement a process where I do use iCloud just as a backup in case I lose my phone, then periodically launch the Dropbox app to upload, then move those pics out of Camera Uploads into a more permanent store on Dropbox, and clear out my iPhone photos. I hope this will work well.
Getting the documentation updated would have saved me a lot of cycles 🙂
- jboulter3 years agoDropbox Staff
You're exactly correct about iCloud.
Opening the Dropbox app often should help get the app prioritized higher for background time by iOS, from what I've read.
If you happen to have links to the documentation you read previously, please send it over and I'll make sure we get it updated asap! 🙂
Thank you,
Jim
- darh3 years agoHelpful | Level 6
I searched the help center for "background" or "background upload" or "photo upload" and found this out-of-date article:
https://help.dropbox.com/installs-integrations/mobile/location-data
These are just silent on the whole background upload issue:
https://help.dropbox.com/installs-integrations/photos/camera-uploads-overview
https://help.dropbox.com/installs-integrations/photos/camera-uploads-fix
The stuff in the community is horribly out of date. Hopefully this thread will trickle towards the top for the next searcher!
- jboulter3 years agoDropbox Staff
You're the best! Thank you for sharing these I'll be certain they're updated!
About Create, upload, and share
Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.
Need more support
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 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!