rn-fetch-blob
rn-fetch-blob copied to clipboard
can not read file path if path contain space, or utf8 character
Hi, i just found if my path contain space or some unicode character, then RnFetchBlob return this error message: Files does not exist at path....
Some example: file:///private/var/mobile/Containers/Data/Application/5552FB3D-A349-47DF-9770-68C405AAA474/tmp/com.vedax.vedaxlinkv2-Inbox/Ta%CC%80ilie%CC%A3%CC%82uPDF.pdf => Not work
I changed file name to file:///private/var/mobile/Containers/Data/Application/5552FB3D-A349-47DF-9770-68C405AAA474/tmp/com.vedax.vedaxlinkv2-Inbox/TailieuPDF.pdf => Worked
@fukemy @eneilsen @ihavenoface5 Facing the same issue. Can anyone suggest me a solution?
use this : decodeUriComponent