nelkotOriginal post
Web Developer
const fileurl - await storage.getFilePreview(appwriteConfig.storageId, fileId, 2000, 2000, 'top', 100);
console.log('Uploaded file URL: ' + fileUrl);
// LOG -> Uploaded file URL: [object ArrayBuffer]
Summary
The getFilePreview() function in react-native is returning [object ArrayBuffer] instead of the file URL.