Expo and uploading image Blobs?

@giise await is a reserved word usually happens when you use await in a function that is not marked as async

For example, this will work:

async function asyncCall() {
  await resolveAfter2Seconds();
}

But this will not work:

function asyncCall() {
  await resolveAfter2Seconds();
}
1 Like

thank you for good imformation.
I encountered this error, do you know reason??

Firebase Storage: Invalid argument in put at index 0: Expected Blob or File.

this might be useful to you: https://github.com/expo/firebase-storage-upload-example

3 Likes