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

Forum Discussion

klm1's avatar
klm1
Helpful | Level 6
4 years ago

Frequency of saving credentials

I notice the Java SDK Android example only seems to save the "credential" (access token and refresh token) when it is initially created. Is there a recommended frequency for updating the credential in preferences or is that not necessary as long as the original refresh token is still valid?

  • As long as the refresh token is valid, it's not necessary to update the credentials. The SDK will automatically perform a refresh using the existing refresh token whenever needed.

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

    As long as the refresh token is valid, it's not necessary to update the credentials. The SDK will automatically perform a refresh using the existing refresh token whenever needed.

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: 12 months 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!