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

leninsmannath's avatar
leninsmannath
Explorer | Level 3
5 years ago

Can't close the page after authentication

Hi

 

I use the below code for dropbox login

 

DropboxClientsManager.authorizeFromController(UIApplication.shared, controller: self, openURL: {(url: URL) -> Void in UIApplication.shared.openURL(url) })

 

it works perfectly, But after login window, it will ask permission to access the files and folder from dropbox. If I click the allow or cancel button it won't close the window and don't go to OpenURL function in the app delegate.

 

And I checked the "https://github.com/dropbox/SwiftyDropbox" SwiftyDropbox sample code from Github. It works perfectly on it.

 

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,916 PostsLatest Activity: 58 minutes ago
333 Following

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!