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
Steve L.
8 years agoHelpful | Level 6
DBClientsManager authorizeFromController after unlinkAndResetClients
I've found that calling DBClientsManager authorizeFromController after unlinkAndResetClients when using browser-based authentication results in an empty browser screen.
I don't think I'm doing anything unusual, just basically the following
[DBClientsManager unlinkAndResetClients];
and some time later
[DBClientsManager authorizeFromController:[UIApplication sharedApplication] controller:self openURL:^(NSURL *url) { [[UIApplication sharedApplication] openURL:url]; }];
Note it works as expected if the Dropbox app is installed and when using the "in app browser authentication" that was available prior to ObjectiveDropboxOfficial 3.0.11.
I'd appreciated any insights as to what is happening and how I might resolve it.
In the end I worked around the problem. I can't definitely say it was in our code but I am working on the assumtion it was.
- Greg-DBDropbox Staff
Thanks for the report Steve. I just tried this though, and it's not reproducing for me. To help us track this down, please let me know:
- Are you seeing this on physical devices (if so, which) and/or the simulator?
- What version(s) of iOS are you seeing this with?
- Is there anything potentially intefering with your network connection to www.dropbox.com?
- Does the page reliably display properly if you don't call unlinkAndResetClients?
Thanks in advance!
- Steve L.Helpful | Level 6
Digging deeper, this only occurs if I invoke connect from deep in our view hierarchy and so is unlikely to be a general problem and quite possibly is application specific.
I'll keep investigating.
- Steve L.Helpful | Level 6
In the end I worked around the problem. I can't definitely say it was in our code but I am working on the assumtion it was.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,911 PostsLatest Activity: 3 hours 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!