Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi
We use the Objective-C SDK in our APP. To get all files' metadata and delete some files, we granted the permission "files.content.write" in ours APP. We now want to develop a new feature, which needs the permission "files.content.read".
1. We will add the permission "files.content.read" in Dropbox App Console, will this action affect the existing users?
2. How can we use the SDK to grant "files.content.write" permission for the authorized users?
Best wishes
Cotin Yang
1. No, enabling an additional scope on your app on the App Console does not affect existing users. It just lets your app use that scope in the future. That is, it will be included in the default set of scopes that your app requests if the app doesn't specify particular scopes during the app authorization flow (and allows your app to request that scope, when it does specify the particular scopes). Also, be aware that just enabling a scope on your app via the App Console does not retroactively grant that scope to existing access tokens.
2. With the Objective-C SDK, you can specify which particular scopes you want to request of the user when starting the app authorization flow, via the "scopes" parameter on the "DBScopeRequest", as seen here: https://github.com/dropbox/dropbox-sdk-obj-c#ios-4 .
1. No, enabling an additional scope on your app on the App Console does not affect existing users. It just lets your app use that scope in the future. That is, it will be included in the default set of scopes that your app requests if the app doesn't specify particular scopes during the app authorization flow (and allows your app to request that scope, when it does specify the particular scopes). Also, be aware that just enabling a scope on your app via the App Console does not retroactively grant that scope to existing access tokens.
2. With the Objective-C SDK, you can specify which particular scopes you want to request of the user when starting the app authorization flow, via the "scopes" parameter on the "DBScopeRequest", as seen here: https://github.com/dropbox/dropbox-sdk-obj-c#ios-4 .
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 Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!