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.
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.