Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Device OS: Lollipop 5.0
When using the Intent ACTION_GET_CONTENT and selecting Dropbox from the Storage Provider, Dropbox prompts a file picker dialog to choose from. The result obtained in onActivityResult is something like
file:///storage/emulated/0/Android/data/com.dropbox.android/files/u6763728/scratch/Camera%20Uploads/2012-04-02%2012.34.44.jpg
The requesting app will not have read permission as its dropbox own private directory even with WRITE_EXTERNAL_STORAGE permission. In KitKat, it is recommended to use FileProvider to share a file via a content:// uri
Hi, thanks for useful Dropbox.
I have same problem.
So, does the future version of Dropbox support `content://` URI?
I hope that Dropbox returns `content://` URI that works fine without `READ_EXTERNAL_STORAGE` permission such as sharing files by `FileProvider`. I really hope so.
I don't want that the my apps require more permission that make users feel uneasy.
And then, I think that more users use Dropbox as the place to save files of more apps. Because since Kitkat many apps use `FileProvider` and they don't read/write the file by oneself.
I don't have an update on the Dropbox for Android app potentially returning content:// links for ACTION_GET_CONTENT in the future, but I'll be sure to pass this along as feedback.
Same issue. My app does NOT has READ_EXTERNAL_STORAGE permission. I'm using ACTION_GET_CONTENT intent to pick file from any app that can handle it. The Dropbox returns URI starting with 'file://' and my app can not read file since there is no permission. Other apps (including Google Drive) returns URI starting with 'content://' and my app can read it without any issue. As a result, users of my app can not use Dropbox to pick file. It forces them to use different app. I think you better fix it to stop loosing users. Why you still don't have any plans regarding the issue?
Thanks for the additional feedback Evgeny! I can't speak to why or why not particular changes are or aren't implemented, but we appreciate everyone taking the time to write, and I'm sending this along to the team.
Hello, Gregory. Thank you for your reply.
I have one more question.
When the Dropbox supports `content://` URI, can we get that notification?
e.g. a comment at here, your blog or a page such as the release-note.
(It seems that the update information in the Google Play page does not include the information about development.)
We need that notification because we will have to update our apps at that time.
I'll be happy to update this thread if/when I have any news on this.
Thank you! ![]()
Hi Gregory,
I imagine the team is already aware of this, but in Android Marshmallow the READ_EXTERNAL_STORAGE permission is classified as "dangerous" and requires for the developer to request, and the user to grant, permission at runtime. As you can imagine, the experience is rather strange for a user:
The context isn't there for a user as to why my app suddenly needs to get access to the SD card.
One thing I noticed, is that using the export functionality in the Dropbox app does not require the READ_EXTERNAL_STORAGE permission, so I assume this does share a content:// uri.
Thanks for the feedback Marius!
Hi Gregory,
Is there any update on this issue? Users of my app are unable to upload files from Dropbox at the moment, while other services like Google Drive working fine. The only way for me to fix this is to add a permission prompt to my app specifically for Dropbox.
One of the great benefits of using the file picker in Android Marshmallow is that you can share files safely between apps without having to grant permissions that would allow apps to have access to more files than are necessary. It would be great if Dropbox returned a URI using the content:// scheme so that users don't have to deal with unnecessary permission prompts.
Thanks!
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!