cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

Re: SwiftyDropBox Auth flow issue

SwiftyDropBox Auth flow issue

gdurrett
Helpful | Level 6
Go to solution

I'm following the SwiftyDropbox documentation for my project, and have gotten as far as having my app switch to authenticating via the Dropbox app and switching back into my app. 

 

However, the 

application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -> Bool function is not being called. When I try to initialize a client via 

DropboxClientsManager.authorizedClient, the client is nil. 

 

The setupWithAppKey is in my AppDelegate, as is the above-referenced function. I know things are partially working, since when I trigger authorizeFromController, I don't get a login prompt from the Dropbox app - just an Allow button.

 

Any ideas what I'm missing or doing wrong?

 

Thanks in advance,

 

Greg

10 Replies 10

gdurrett
Helpful | Level 6
Go to solution

Greg, that was the issue! Thanks kindly, and I wish I'd noticed that myself so I could have saved us both some time. Oy!!!!

Need more support?