React Native image upload to S3 bucket
Mateusz Zatorski
1228

Hey Mateusz, great article!

I dealing with an issue here, i can shoot my picture and send it. But it gets to aws3 as a 0 byte image, hard to debugg that one, any guesses?

AW responds my request and all, and I can see the empty file in the bucket.

{ postResponse:

{ key: ‘prints/img.jpg’,

etag: ‘d41d8cd98f00b204e9800998ecf8427e’,

bucket: ‘foot-print-pictures’,

location: ‘https://foot-print-pictures.s3.amazonaws.com/prints%2Fimg.jpg' } }

Iv’e tried with both captureTargets..

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.