cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done here!

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SwiftyDropbox OS/X handleAppleEvent never called

SwiftyDropbox OS/X handleAppleEvent never called

johnkountz
New member | Level 2

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. 

1 Reply 1

Re: SwiftyDropbox OS/X handleAppleEvent never called

Greg-DB
Dropboxer

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?

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?