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

Correct converstion of file path to Uri #6

Merged
merged 2 commits into from
Aug 24, 2023

Conversation

IanOpenSpace
Copy link

I was using RNFS.readFile() on a file with & in its name and was getting a file not found error. Traced it down to this line. Uri.fromFile() has been around since API Level 1.

Full disclosure: I am currently using and tested this change on the original RNFS repo.

@birdofpreyru birdofpreyru changed the base branch from master to dev-2.21 August 23, 2023 16:17
@birdofpreyru birdofpreyru merged commit 86b0d0a into birdofpreyru:dev-2.21 Aug 24, 2023
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

Successfully merging this pull request may close these issues.

2 participants