Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
phunction
10 years agoHelpful | Level 5
API 1
I have an app that is connecting via api (iOS). When they first try to access dropbox, it pops up the sign in/add device etc., all this is fine. However, my app somehow hangs onto that login. Ev...
- 10 years agoThat's correct, you'd need to offer this as an option in your app for the user to use before uninstalling.
Or, you may be able to handle this programmatically by storing some flag in NSUserDefaults when you link an account, which I believe doesn't persist across re-installs. So, if you don't see the flag, but you do see a stored Dropbox access token, you know the app was uninstalled/reinstalled after linking the account, so you can throw away the access token then.
phunction
10 years agoHelpful | Level 5
Thanks, I am planning on updating in the near future, but would like to fix this before then.
The question is, how can I call that option if the user simply un-installs the app? I assume I would have to add an option somewhere to unlink the dropbox account?
Greg-DB
Dropbox Community Moderator
10 years agoThat's correct, you'd need to offer this as an option in your app for the user to use before uninstalling.
Or, you may be able to handle this programmatically by storing some flag in NSUserDefaults when you link an account, which I believe doesn't persist across re-installs. So, if you don't see the flag, but you do see a stored Dropbox access token, you know the app was uninstalled/reinstalled after linking the account, so you can throw away the access token then.
Or, you may be able to handle this programmatically by storing some flag in NSUserDefaults when you link an account, which I believe doesn't persist across re-installs. So, if you don't see the flag, but you do see a stored Dropbox access token, you know the app was uninstalled/reinstalled after linking the account, so you can throw away the access token then.
- phunction10 years agoHelpful | Level 5
Alright, thanks for the help.
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!