## Media uploads

Upload an image in your React Native app:

```javascript
async function pathToImageFile() {
  try {
    const response = await fetch(pathToImageFile);
    const blob = await response.blob();
    await Storage.put('yourKeyHere', blob, {
      contentType: 'image/jpeg' // contentType is optional
    });
  } catch (err) {
    console.log('Error uploading file:', err);
  }
}
```
