We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

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

Andorid SDK uses deprecated API

https://github.com/dropbox/dropbox-sdk-java Andorid SDK uses still v1 API. It shows warning when I try to login from application. It opens https://www.dropbox.com/1/connect?k=XXX when I call  Auth.startOAuth2Authentication. What is the solution for this? Do I need to implement other way, or will the developers implement it into the Dropbox SDK?

  • Sekali I'm not sure I understand your message. If you're using an official SDK, such as the Java SDK, you should use the latest version, as released and documented. You do not need to make any modifications to it. It may use some different internal mechanisms, but the latest versions already use API v2.

     

    If you are not using an SDK, you should implement the OAuth flow as documented.

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

    The Java SDK does already use API v2. That authorization page URL has /1/ in it for historical reasons, but it's not actually used for API v1 only. As long as you're using the latest version of that SDK and following the instructions in the readme you're using API v2 and don't need to do anything differently. (Make sure you're using a version of the SDK >1.8.2.)

     

    If you're seeing a warning on the authorization page about the API v1 deprecation, it's because you previously used API v1 but didn't acknowledge the deprecation. You can do so from the App Console while signed in to the account that owns the app(s).

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 5 hours ago
325 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!