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

Kapil22's avatar
Kapil22
Explorer | Level 3
8 years ago

Dropbox android sdk 1.6.3 supports v2 or not.?

I have developed android app with Dropbox android sdk 1.6.3 and it uses startoauth2 for authorisation purpose. Now I am bit confused if I am already working with Dropbox Api v2 or changes are required in app to make it compatible with v2?

  • The Android Core SDK v1.6.3 you're using uses API v1, which is deprecated, so you should migrate to API v2. To use API v2 in Android, you should use the API v2 Java SDK.

     

    (The OAuth version is not the same as the API version. API v1 supports both OAuth 1 and OAuth 2. API v2 supports OAuth 2 only.)

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    The Android Core SDK v1.6.3 you're using uses API v1, which is deprecated, so you should migrate to API v2. To use API v2 in Android, you should use the API v2 Java SDK.

     

    (The OAuth version is not the same as the API version. API v1 supports both OAuth 1 and OAuth 2. API v2 supports OAuth 2 only.)

    • Kapil22's avatar
      Kapil22
      Explorer | Level 3

      My confusion is that if I have used oauth2(v2 supports oauth2) for creating and storing session, then do I still need to update my sdk?

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff
        Yes, while existing OAuth 2 access tokens can be used with API v2, the Android Core SDK only makes API v1 calls, so you need to update to the API v2 Java SDK.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,910 PostsLatest Activity: 3 days ago
333 Following

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!