react-native-aws3
react-native-aws3 copied to clipboard
Is there going to be support for obtaining the files from s3 to my device?
Hello. This library is very cool, but checking documentation and its source code it seems to be that it only supports to upload files to the s3 bucket, but not a way to obtain them into the device.
Is there going to be support for something like that? Because both are needed in day to day apps.
upload gives you a URL back, and you can save and use that URL to show the image.
try {
const upload = await RNS3.put(file, options)
return upload.body.postResponse.location // this gives you the URL
} catch (e) {
//handle err
}