with-aws-storage-upload
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?
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?