We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
ShinehahGnolaum
7 years agoHelpful | Level 7
I can't get a logged in instance of DropboxClient
In another post about the 10814 error it said I could ignore the error, but in this case it looks like I'm not getting the instance of DropboxClient even after I log in.
I get the following mes...
- 7 years ago
The installation method isn't what I was referring to, but o clarify, there are three distinct methods for installing the library:
You can and should only use one of them. Each one is sufficient for installing the library. Within each method, all of the steps are required, unless stated otherwise.
In any case, the exact installation method that you use isn't relevant to your original authorizedClient question here. As long as the installation was successful, each of them result in a library that you use the same way.
After installation, however, there are more, not optional, steps you need to follow to make sure you can process the app authorization flow properly. Can you confirm you followed all of the instructions under "Configure your project" in particular?
If so, you should be able to go through the app authorization flow in your app like an end-user would, and then when you get back you can get a client from authorizedClient.
If that's not working properly, please share the rest of the relevant code (e.g., the code in your app delegate, per the intstructions, etc.).
- 7 years ago
In the process of checking my steps, I tried adding the succeeding step
https://github.com/dropbox/SwiftyDropbox#handle-redirect-back-into-sdk
and it worked.
Thank you for your help.
Greg-DB
Dropbox Staff
Can you confirm that you followed all of the instructions under "Configure your project" and "Handling the authorization flow"?
https://github.com/dropbox/SwiftyDropbox#configure-your-project
Those instructions cover the necessary steps for implementing the app authorization flow, so that you can retrieve a client using authorizedClient.
https://github.com/dropbox/SwiftyDropbox#configure-your-project
Those instructions cover the necessary steps for implementing the app authorization flow, so that you can retrieve a client using authorizedClient.
ShinehahGnolaum
7 years agoHelpful | Level 7
I followed the instructions exactly. When I ran into problems, I was able to get help by posting in GitHub and on this forum and was able to correct the errors. I chose to use Carthage and chose not to do the manual step at this link:
https://github.com/dropbox/SwiftyDropbox#manually-add-subproject
Am I correct to assume that step was only to be taken if I had not taken the previous step? I take it I would not need to add the SwiftyDropbox and Alamofire Xcode projects manually into my Xcode projects if I already added the frameworks into my projects.
- Greg-DB7 years agoDropbox Staff
The installation method isn't what I was referring to, but o clarify, there are three distinct methods for installing the library:
You can and should only use one of them. Each one is sufficient for installing the library. Within each method, all of the steps are required, unless stated otherwise.
In any case, the exact installation method that you use isn't relevant to your original authorizedClient question here. As long as the installation was successful, each of them result in a library that you use the same way.
After installation, however, there are more, not optional, steps you need to follow to make sure you can process the app authorization flow properly. Can you confirm you followed all of the instructions under "Configure your project" in particular?
If so, you should be able to go through the app authorization flow in your app like an end-user would, and then when you get back you can get a client from authorizedClient.
If that's not working properly, please share the rest of the relevant code (e.g., the code in your app delegate, per the intstructions, etc.).
- ShinehahGnolaum7 years agoHelpful | Level 7
In the process of checking my steps, I tried adding the succeeding step
https://github.com/dropbox/SwiftyDropbox#handle-redirect-back-into-sdk
and it worked.
Thank you for your help.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 7 hours agoIf you need more help you can view your support options (expected response time for an email or 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!