Your workflow is unique šŸ‘Øā€šŸ’» -  tell us how you use Dropbox here.

Forum Discussion

tpChug's avatar
tpChug
Explorer | Level 3
8 years ago
Solved

How do I tell if my app needs the API v1.2

It doesn't appear that my app is using the API v1.   Is this possible that my app doesn't use API v1 or v2 interface with dropbox?  How can I determine this.   I read a previous post about looking into the DBSession.m file to determine the API version, but I don't have a DBSesson.m file.   It's been so long since I wrote the app in Objective C that I can't seem to figure out if I need to update my app.  Any help is greatly appreciated.   

  • Thanks! That SDK does use API v1, so you will need to migrate to API v2.

     

    We have API v2 SDKs for both Objective-C and Swift.

3 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago

    What SDK/library and version are you using? I can tell you which API it uses.

     

    Alternatively, if you're not using an SDK or library, check if the API endpoints you're calling contain /1/ or /2/.

  • tpChug's avatar
    tpChug
    Explorer | Level 3
    8 years ago

    I’m not sure how to tell which library and version I’m using.    Under libraries and frameworks  I have Dropbox.framework listed.  Under the list of all of the header files in the framework I don’t see a version number.  In my project folder I have a folder titled dropbox-ios-sync-sdk-3.1.1  but I can’t be sure that is what was installed.    I did a search on any text in my code for /1/ or /2/ and I found no matches.   Does this help?

     

    I really feel stupid that I’m not able to figure this out on my own.   I’m obviously not fluent Mac/iPhone app developer but was able to build a nice powerful app years ago in Objective C and the good example code I got from Dropbox.

     

    Your help is appreciated.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago

    Thanks! That SDK does use API v1, so you will need to migrate to API v2.

     

    We have API v2 SDKs for both Objective-C and Swift.

About Dropbox API Support and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

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!