We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Bob S.15
11 years agoCollaborator | Level 9
Does login ever leave app now?
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
3 Replies
Replies have been turned off for this discussion
- Greg-DB11 years ago
Dropbox Community Moderator
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.
- Bob S.1511 years agoCollaborator | Level 9
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.
- Greg-DB11 years ago
Dropbox Community Moderator
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.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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, Facebook or Instagram.
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!