cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

Shared file URI depends on OS version

Explorer | Level 3

Hi, 
When trying to open a file(dwg in our case) from the drop box app(version 74.2.2) when running on OS version 7 and up we are getting the following URI: 
content://com.dropbox.android.FileCache/filecache/5c0a5a5c-4f92-4105-b243-8091211a1eb0 
which is a content URI and can be handled appropriately in terms of permissions(No runtime permissions required). 
On the other hand, when running on OS versions 6 and down we are getting the following URI: 
file:///storage/emulated/0/Android/data/com.dropbox.android/files/u24222443/scratch/fidelity%20tests/Fidelity%20-%20Set_for_Automation/bungalow.dwg 
which is a file URI requires declaring READ_EXTERNAL_STORAGE permissions and asking for a user permission at run-time in order to access the file. 
So the question is whether this is the intended behavior and if there is a chance it will be changed in the future releases of the dropbox app?

Thanks.

3 Replies 3
Highlighted

Shared file URI depends on OS version

Explorer | Level 3

Duplicate post removed
 

Highlighted

Re: Shared file URI depends on OS version

Dropboxer
Dropboxer
Hey @AutoCADmobile, welcome to our community! 

It sounds like you’re developing your own application here, so I’m moving your question over to our API section, where our team is better-equipped to handle your query.

Cheers

Sanchez
Community Moderator @ Dropbox
https://dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
Still stuck? Ask me a question!
Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

Highlighted

Re: Shared file URI depends on OS version

Dropboxer
Dropboxer
It looks like you also opened a ticket for this, and that has been redirected to the right people for this issue, so I'll defer to them in that ticket.
Polls
Do you know how to organize your files and folders?
We have created a guide on folder best practice, so you can get organized now check it out here.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?