Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi,
I'm updating an old iOS app. In the old version, logging into Dropbox used to require launching the Dropbox app to login -- so it would leave the original app. But now it seems like the login happens within the app, in a popup window. Does that happen for all versions of iOS now, or does it still sometimes leave? How can you tell which it is going to do?
Thanks
Bob
The app authorization flow will happen in your app if the official Dropbox app isn't installed. If it is installed, the user will leave your app and process the authorization in the official app. You, as the developer, don't have to do anything differently in either case.
But is there any way to tell which it is? I used to load up my files from Dropbox as the app returned to being active, since it left the app. Now I can't really do that.
Do you mean you want to trigger some action in your app when the user has finished authorizing the app to access their account? Whether or not the official Dropbox app is installed, you should trigger this from application: openURL:
in your app delegate, as shown in the tutorial:
https://www.dropbox.com/developers/core/start/ios
In either case, that code gets fired, so that's the best place to start anything after app authorization.
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!