Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const send = (path: any) => ChatManager.sendImage(imId, chatType, path, ext);
return RNFS.exists(localPath).then((exist: boolean) => {