RNFB: 0.10.13
RN: 0.57.0
I was trying to download a file from the server with korean/chinese characters in its filename using RNFetchBlob.fetch(), but got Error: unsupported URL error in iOS.
Fetching the same file works fine in Android.
+1
RNFB: 0.10.13
RN: 0.57.0I was trying to download a file from the server with korean/chinese characters in its filename using
RNFetchBlob.fetch(), but gotError: unsupported URLerror in iOS.Fetching the same file works fine in Android.
Do you solve that?
@idanlevi1 you can use encodeURI() on the filename before uploading then downloading the file should be fine
@idanlevi1 you can use
encodeURI()on the filename before uploading then downloading the file should be fine
Thanks! it work 馃憤 馃憤 馃憤
Most helpful comment
@idanlevi1 you can use
encodeURI()on the filename before uploading then downloading the file should be fine