examples icon indicating copy to clipboard operation
examples copied to clipboard

with-aws-storage-upload

Open paulsizer opened this issue 3 years ago • 1 comments

I have modified the with-aws-storage-upload example to allow you to pick all media types to test it for videos.

The app crashes when uploading a video with a length of 1:24, there is no output in the console just a fatal crass that closes the expo app?

paulsizer avatar Jul 28 '22 13:07 paulsizer

https://github.com/expo/examples/blob/master/with-aws-storage-upload/App.js

Could someone explain if this code was supposed to be for class based components or something? I am getting errors for property not existing:

handleImagePicked = async (pickerResult) = -- Link to line 53

uploadImage = (filename, img) => {

Why aren't they defined with const or let or var like const uploadImage = (filename, img) => {...? Also why do we have this.handleImagePicked(result); inside takePhoto and pick pickPhoto functions?

AnupamKhosla avatar Sep 17 '25 16:09 AnupamKhosla