React native file viewer is not able to open content URI
Coder231456 opened this issue · 0 comments
Coder231456 commented
I am getting below while try to open content URI in my latest android phone
[Error: UID 10340 does not have permission to content://com.android.providers.media.documents/document/image%3A1000035069 [user 0]; you could obtain access using ACTION_OPEN_DOCUMENT or related APIs]
code -
await FileViewer.open(
'content://com.android.providers.media.documents/document/image%3A1000035069',
{ showOpenWithDialog: true, showAppsSuggestions: true },
);