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's avatar
darh
Helpful | Level 6
3 years ago

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...
  • jboulter's avatar
    jboulter
    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