Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I am porting an OS/X App from V1 to V2 and using SwiftyDropbox.
I register my Apple event handler in AppDelegate load but it never gets a callback signalling the App has Linked.
The Link flow appears to work perfectly, I get the login challenge followed by the Authorize the App view, but my
handleAppleEvent
Never get's a callback.
What would you suggest?
A simple COMPLETE example showing how an OS/X client works is desperately needed by the community.
Thanks for your post! We don't currently have a full sample project for SwiftyDropbox for macOS, but I'll be sure to pass this along as a request for one.
The instructions for setting up the app authorization flow with SwiftyDropbox can be found here:
https://github.com/dropbox/SwiftyDropbox#configure-your-project
Did you follow those steps exactly? I notice you mentioned "handleAppleEvent", but the SwiftyDropbox instructions use "handleGetURLEvent".
We did recently add a macOS example for the API v2 Objective-C SDK. That works similarly to SwiftyDropbox so it may serve as a useful reference. The instructions for the API v2 Objective-C SDK do use "handleAppleEvent", so perhaps you just mixed up the two sets of instructions?
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!