cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

DBClientsManager authorizeFromController after unlinkAndResetClients

Helpful | Level 6

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.

1 Accepted Solution

Accepted Solutions
Highlighted

Re: DBClientsManager authorizeFromController after unlinkAndResetClients

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.

View solution in original post

3 Replies 3
Highlighted

Re: DBClientsManager authorizeFromController after unlinkAndResetClients

Dropboxer
Dropboxer

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! 

Highlighted

Re: DBClientsManager authorizeFromController after unlinkAndResetClients

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.

Highlighted

Re: DBClientsManager authorizeFromController after unlinkAndResetClients

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.

View solution in original post

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?