Discuss Dropbox Developer & API
Hello,
I am developing an app for my company and it needs to access Dropbox files on a regular basis. I often see in other apps the ability to connect with Dropbox, which presumably generates an access and refresh token pair to be used for Dropbox API access. Instead of writing my own login form, I would really like to use the Dropbox app on the phone to do the authentication. For example, the Adobe Reader app has a tab called 'Locations', which lists several cloud services. Tapping on 'Dropbox' opens the Dropbox app and the rest of the login flow happens there. When the user has successfully authenticated, the Dropbox app sends the user back to the Adobe Reader app.
From a development point of view, I have no idea what that process is called and I can't find any information about it. It's magical from a UX perspective and I desperately want to implement the same flow in my app. Any information at all about how those two apps are interacting to accomplish the seamless hand-off would be extremely helpful.
Thanks.
It sounds like you're describing the app authorization flow built in to the official Dropbox mobile SDKs. You can find those here:
If you use the provided functionality there, the SDK will do most of the work for you, such as automatically using the official Dropbox mobile app for the authorization step, when available.
It sounds like you're describing the app authorization flow built in to the official Dropbox mobile SDKs. You can find those here:
If you use the provided functionality there, the SDK will do most of the work for you, such as automatically using the official Dropbox mobile app for the authorization step, when available.
Thanks for the reply. I am looking through the links you provided to learn more. Do you happen to know if there are any examples of how to integrate the SDK(s) in a React Native app?
No, unfortunately the Dropbox SDKs don't officially support React Native.
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!