Learn how to make the most out of the Dropbox Community here 💙!
Forum Discussion
Lou P.6
7 years agoHelpful | Level 6
Cancel Allow screen hangs when using API v2
I am using API v2, I am allowed to login using https screen, then I get to the xxxx would like to access to its own folders, Apps xxxx inside your Dropbox. learn more, with two buttons; cancel and Al...
- 7 years ago
Hi, I was able to figure out what was happening to me. On the physical hardware device, when authorization occurred I recieved a window as stated above, I did NOT recieve the window on the IOS simulator. OS 10.13.6. I found this link; https://github.com/dropbox/dropbox-sdk-obj-c#handling-the-authorization-flow
specifically a call to openURL which is described as a redirecte back into SDK. I placed the code in AppDelegate.m, and the connection was allowed to happen. One solution pointed to the view controller not being on the top, but I don't think that was relevant. Thanks again
Greg-DB
Dropbox Staff
7 years agoThanks! To clarify though, I was asking for the name and version of the Dropbox SDK (not iOS version) you're using, if any. E.g., are you using SwiftyDropbox or the Dropbox Objective-C SDK, and if so, what version number do you have installed?
Anyway, that clock icon you referred to is actually a Safari icon. That's displayed as part of the SafariViewController, as a way to open that page in the full Safari browser. You don't need to use that though, as you should be able to complete the flow in the SafariViewController.
Since you mentioned this only happens in the simulator, can you check if it happens in all simualtors, or only that one in particular?
Lou P.6
7 years agoHelpful | Level 6
Hi, I was able to figure out what was happening to me. On the physical hardware device, when authorization occurred I recieved a window as stated above, I did NOT recieve the window on the IOS simulator. OS 10.13.6. I found this link; https://github.com/dropbox/dropbox-sdk-obj-c#handling-the-authorization-flow
specifically a call to openURL which is described as a redirecte back into SDK. I placed the code in AppDelegate.m, and the connection was allowed to happen. One solution pointed to the view controller not being on the top, but I don't think that was relevant. Thanks again
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,972 PostsLatest Activity: 2 days ago
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!