react-native-s3 | React Native app to upload and display images | AWS library
kandi X-RAY | react-native-s3 Summary
kandi X-RAY | react-native-s3 Summary
Users can sign up/in to the app. Users can upload pictures by pressing the add button. Users can delete pictures by pressing the trash button. Users can update the feed by pressing the reload button.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of react-native-s3
react-native-s3 Key Features
react-native-s3 Examples and Code Snippets
Community Discussions
Trending Discussions on react-native-s3
QUESTION
I'm trying to use the react-native-s3-upload package to upload files to an S3 bucket in my React Native App. This only works if I set "Block public access" to 'off' in S3. Otherwise I get
. The access key and secret key provided with put requests are for an IAM user that belongs to a group with AmazonS3FullAccess. I also have this policy attached to the bucket:AccessDenied
Access Denied
ANSWER
Answered 2020-Aug-11 at 13:38If your IAM user has AmazonS3FullAccess policy, it should connect to bucket just fine.
I think that the problem is that default object acl is public,
https://www.npmjs.com/package/react-native-s3-upload
acl - The Access Control List of this object. Defaults to public-read
You need to set it to private.
QUESTION
I'm using react-native-image-picker and react-native-s3-upload to upload images to s3 bucket.
...ANSWER
Answered 2020-Apr-25 at 12:56I found an alternative module (aws-sdk) to upload files to the S3 bucket with RN 62 version.
Also, I have used base64-arraybuffer and react-native-fs modules well.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install react-native-s3
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page