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

Geggs's avatar
Geggs
Helpful | Level 5
8 months ago

Dropbox Api 6.1: Auth is not recognised

Hi,

 

after updating from Android Java Api

 

'com.dropbox.core:dropbox-core-sdk:5.4.0' to com.dropbox.core:dropbox-core-sdk:6.1.0'

 

Auth is not recognised.

I need it for the PKCE flow:

 

'Auth.startOAuth2PKCE(...)'

 

Seems like this has changed something and I can't find any reference to it.

Thanks

Geggs

 

  • as documentation says here, You have to add following dependencies:
     
    SDK Version 5.4.0 only needs Core-SDK while 6.1.0 needs both of them
     
     

     

    implementation 'com.dropbox.core:dropbox-core-sdk:6.1.0'
    implementation 'com.dropbox.core:dropbox-android-sdk:6.1.0'

    Thanks to Alejandro, posted his answer here

     

  • Geggs's avatar
    Geggs
    Helpful | Level 5
    as documentation says here, You have to add following dependencies:
     
    SDK Version 5.4.0 only needs Core-SDK while 6.1.0 needs both of them
     
     

     

    implementation 'com.dropbox.core:dropbox-core-sdk:6.1.0'
    implementation 'com.dropbox.core:dropbox-android-sdk:6.1.0'

    Thanks to Alejandro, posted his answer here

     

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,882 PostsLatest Activity: 12 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!