title: How do I upload an image taken by React-Native-camera to Firebase storage?
body: <pre><code>  takePicture = async function() {
      if (this.camera) {
        const options = { quality: 0.5, base64: true, mirrorImage: true };
        const data = await this.camera.takePictureAsync(options)
  
        this.setState({path: data.uri})
      }
  
    }
  </code></pre>
  
  <p>takePicture is the function to capture the image. Now I want to save the captured image and upload it to Firebase storage.</p>
  
  <p>this.setState({path: data.uri}) updates the path to clicked Image's location. </p>
  
  <p>How do I use react native fetch blob to upload my image in firebase storage? Please help</p>
  
  <p>I'm currently using react-native-camera - ^1.6.3
  and firebase - ^5.0.3</p>