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
VIctorCZ
3 years agoNew member | Level 2
Get new AccessToken when access token expired (Android)
I apologize in advance for my English.
I have several android applications that use Dropbox to send and load data.
Until the last update, Dropbox communication worked properly - probably an Acce...
- 3 years ago
For Android apps using the official Dropbox API v2 Java SDK, you should upgrade to the latest version of the SDK (currently v5.4.4) and use the updated authorization functionality, starting with the startOAuth2PKCE method. You can find an example app here. For instance, you can see where that starts in the code here and how the result is handled here. When you use that functionality as shown, the SDK will then handle the refresh process for you automatically.
--
Edit: updated version number and links.
Greg-DB
Dropbox Staff
For Android apps using the official Dropbox API v2 Java SDK, you should upgrade to the latest version of the SDK (currently v5.4.4) and use the updated authorization functionality, starting with the startOAuth2PKCE method. You can find an example app here. For instance, you can see where that starts in the code here and how the result is handled here. When you use that functionality as shown, the SDK will then handle the refresh process for you automatically.
--
Edit: updated version number and links.
sundar_papco
2 years agoNew member | Level 2
Hello!
Both the code links mentioned in the accepted answer are now dead. Kindly update the links please
- Здравко2 years agoLegendary | Level 20
- Greg-DB2 years agoDropbox Staff
sundar_papco I've updated the links in my post. Thanks!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,884 PostsLatest Activity: 16 minutes agoIf 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!