Forum Discussion

Robert S.138's avatar
Robert S.138
Helpful | Level 7
7 years ago

Objective-C Dropbox API very different from v. 2.0.6 to 3.10.0

I had been using ObjectiveDropboxOfficial version 2.0.6 sinc 2016.  Today I updated the SDK using cocoapods "pods update".  All seemed to go well and it said I now have version 3.10.0.  Initially I got "file not found" in my application file when I try to import the dropbox api header.  I solved that by adding $(inherited) to both the Framework Header Search Path and the User Header Search Path in the target build settings.

Now I am working through all the API changes that come up as errors in my application.  Most of them I can figure out by looking for APIs with similar names.  But I have not found the way to get the Server date and time stamp after uploading a file to the server.  There used to be a field in the DBFILESFileMetadata returned that gave the serverModified, which was a dictionary including, among other things, the NSFileModificationDate.  Is there any way to get that data now with version 3.10.0?

1 Reply

About Dropbox API Support & Feedback

Node avatar for 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!