(cherry picked from commit b27076b06f)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
This commit is contained in:
parent
84918a666d
commit
976d2b5fe3
1 changed files with 1 additions and 2 deletions
|
|
@ -75,8 +75,7 @@ const PrepareFile = forwardRef<PrepareFileRef, PrepareFileProps>(({intl, isLands
|
|||
|
||||
let path;
|
||||
try {
|
||||
const prefix = Platform.OS === 'android' ? 'file:/' : '';
|
||||
const exist = await RNFetchBlob.fs.exists(`${prefix}${localPath}`);
|
||||
const exist = await RNFetchBlob.fs.exists(localPath);
|
||||
if (exist) {
|
||||
path = localPath;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue