MM-30850 fix(android): Failure to share self-uploaded file (#5010)
This commit is contained in:
parent
c3b3d0239f
commit
b27076b06f
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