Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React native file viewer is not able to open content URI #145

Open
Coder231456 opened this issue Jun 20, 2023 · 0 comments
Open

React native file viewer is not able to open content URI #145

Coder231456 opened this issue Jun 20, 2023 · 0 comments

Comments

@Coder231456
Copy link

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 },
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant