react-native-documents / document-picker

Document Picker for React Native
https://react-native-documents.github.io/
MIT License
1.35k stars 437 forks source link

URI is not accessible #577

Closed taatiq882 closed 2 years ago

taatiq882 commented 2 years ago

I am trying to open the pdf that use have picked with the help of uri that [react-native-document-picker] provides for example

"file:///private/var/mobile/Containers/Data/Application/E6AC8899-CB7B-42C6-9B6A-766BAC197D0D/tmp/org.mstqb-rise.com-Inbox/2022-02-04 6-58 PM 1.pdf"

But the problem it's not accessible. Kindly help in this regard.

covideoNaveen commented 2 years ago

I am facing the same problem in iPhone 13

taatiq882 commented 2 years ago

I have used react-native-file-viewer and it's working perfectly.

github-actions[bot] commented 2 years ago

:wave: @taatiq882, sorry you're having an issue. This issue is being closed because it does not provide all information required by the issue template. As the issue template explains, we require that you provide a runnable example that reproduces your issue and your environment information. This means you need to provide a code snippet that we can copy-paste into an empty project and see the error ourselves, or provide a git repository with the issue. The reason is that maintainers do not have time to try reproduce bugs themselves. Please try to minimize the superfluous code and focus only on reproducing the bug. Please create a new issue with this and we'll be happy to review it!