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
Marco M.22
9 years agoNew member | Level 1
Log in loop when pressing back button
Hi everyone,
I'm developing an android app which uses DB api V2. Each time i select the option for login it accesses my dbbox through my credentials I can upload a file. But when i want to come back to the activity that called the one for authentication in fact it reloads the just called activity. I think it's an issue with onResume method but I'm not able to figure it out
Hi Marco, I'm not sure I follow, but it sounds like you may be calling the startOAuth2Authentication method when you don't intend to. You may want to add some logging around that, or step through with a debugger to see where that's happening.
You can refer to the Android sample app here to see how it handles it:
If you're still having trouble, please post the relevant code, and maybe some screenshots and a screencast showing the issue.
- Greg-DBDropbox Staff
Hi Marco, I'm not sure I follow, but it sounds like you may be calling the startOAuth2Authentication method when you don't intend to. You may want to add some logging around that, or step through with a debugger to see where that's happening.
You can refer to the Android sample app here to see how it handles it:
If you're still having trouble, please post the relevant code, and maybe some screenshots and a screencast showing the issue.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 4 days 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!