I just heard from a user of my Objective-C app that when my app tries to link to Dropbox, nothing happens. I am using:
[DropboxClientsManager authorizeFromController:[UIApplication sharedApplication]
controller:self
openURL:^(NSURL *url){ [[UIApplication sharedApplication] openURL:url]; }
browserAuth:YES];
and this works all the time, except for this one user. It turns out he has installed the alternate browser "Covenent Eyes" and disabled Saffari on his iPhone. I suggested that he try installing the Dropbox app on his device first, so that the authorization will come from there rather than from the browser. I have not heard back from him, so I suppose it worked.
My question is, can I determine in code if this is happening? If I can, then I can display a message to users advising them to install the Dropbox app or re-enable Saffari. What is the cleanest solution to this?
-Robert Scott
Hopkins, MN