Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
ori
8 years agoExplorer | Level 3
FileUriExposedException
Hi Dropbox crashes. (dump is at the end of this question) I have an app that I had developed for myself. It used to work with Dropbox untill recently. I am storing my myfile.or1 on drop...
burnitall
8 years agoExplorer | Level 3
Hi, this is not an issue with our apps. Dropbox crashes before Android even asks for which app to send it to. You can see that from ori's stack trace. It does not contain any symbol other than Android and Dropbox.
The issue is that Dropbox tries to export a Uri with a "file" scheme. If you look at the documentation for FileUriExposedException, it explains that for apps targeting N, that exception is thrown, and the app needs to be changed to export a "content" scheme. The app exporting the Uri is Dropbox. Dropbox needs to be fixed.
MichaelRu
8 years agoNew member | Level 2
burnitall explained very good why the problem happens. In this blog post you can find how to fix it: https://medium.com/@ali.muzaffar/what-is-android-os-fileuriexposedexception-and-what-you-can-do-about-it-70b9eb17c6d0
This has to be fixed in Dropbox and not in the target apps.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!