react-native-receive-sharing-intent
react-native-receive-sharing-intent copied to clipboard
replace space with %20
in getReceivedFiles replaces spaces in file name with %20 and it causes problems in iOS
I can replace it again but it is not the best way. is there any other way to solve this issue?
The strings are all URI encoded. Simply decode them like this:
const filePath = decodeURI(file.filePath);
const fileName = decodeURI(file.fileName);