Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Already migrated all users to V2. Everything fine.
Pulled 200+ commits from objective-c-official
When a new users attempts to link the app to their Dropbox, the Dropbox app opens -> they tap "Allow" -> the Dropbox app opens our app via the URL-scheme ... fine
However, the url passed to OpenWithURL =
db-<app_key>://1/connect?oauth_token_secret=lalala-tatata=oauth2%3<someUUID>&uid=1234567&oauth_token=oauth2%3A
while the updated dropbox-objc-official codebase only accepts urls with host '2' , i.e.: ://2/connect
hence - (BOOL)canHandleURL:(NSURL *)url returns NO
causing authentication to fail.
any pointers what changed, what am I doing wrong?
[EDIT]
When doing the exact same thing on a device that does not have the Dropbox app installed -> auth goes through SafariViewController -> user taps 'allow' -> URL-scheme call our app -> this time with ://2/ url -> everything works fine
Thanks for the reply.
"manually" parsing ://1/connect also worked - for now. We'll switch to the SDK
Wouter
Thanks, and yes, we'll be using the official SDK
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.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 Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!