Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hello guys. Please help. After migrating my progect to iOS sdk 13 I've got a problem. So this method is not triggered completion handler anymore
DropboxClientsManager.authorizeFromController(UIApplication.shared, controller: self) { (url) in }
on iOS 12 it worked perfectly well. What should I have to change?
Thanks for checking that. I've tried this on iOS 13 and it is working for me, so we'll need to keep troubleshooting this to see what's breaking in your case.
To try to narrow this down though, can you step through with the debugger to see what part is or isn't running? For example, is the redirect to your app (via the URL scheme set in the plist) working, or is the `application(_ app: , open url: , options: )` method not getting called at all, or if it is, is `url` not set, or is `handleRedirectURL` not returning a value?
Does your app use "scenes"? If so, you'll need to update the redirect handling as discussed here.
No, my app does not use scenes
Thanks, in that case we'll need to investigate some more. Can you let me know:
Yes, I've checked and I've had everything that you asked in last message. On iOS 12 it was working fine, but now it does not.
Thanks for checking that. I've tried this on iOS 13 and it is working for me, so we'll need to keep troubleshooting this to see what's breaking in your case.
To try to narrow this down though, can you step through with the debugger to see what part is or isn't running? For example, is the redirect to your app (via the URL scheme set in the plist) working, or is the `application(_ app: , open url: , options: )` method not getting called at all, or if it is, is `url` not set, or is `handleRedirectURL` not returning a value?
I found my mistake. Thanks for helping me guys!
Hi there!
If you need more help you can view your support options (expected response time for a 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!