title: How to Upload Image form Phone to Firebase Storage?
body: <p>I'm trying to upload a Picture form my Phone to Firebase using Expo.
  I get a uri form the Picture but not sure how to convert it, that I can uploade it to Firebase?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>  _pickImage = async () =&gt; {
      let result = await ImagePicker.launchImageLibraryAsync({
        allowsEditing: true,
        aspect: [4, 3],
      });
  
      if (!result.cancelled) {
        console.log('device URL: w',result.uri);
        this.setState({ image: result.uri });
        this.uploadImage(result.uri).then(resp =&gt;{
          alert('success')
        }).catch(err=&gt;{
          console.log(err)
        })
      }
    };</code></pre>
  </div>
  </div>
  </p>
  
  <p>When i Log result.uri I get:  </p>
  
  <blockquote>
    <p>file:///var/mobile/Containers/Data/Application/1E5612D6-ECDB-44F4-9839-3717146FBD3E/Library/Caches/ExponentExperienceData/%2540anonymous%252FexpoApp-87f4a5f5-b117-462a-b147-cab242b0a916/ImagePicker/45FA4A7B-C174-4BC9-B35A-A640049C2CCB.jpg</p>
  </blockquote>
  
  <p>How can I convert it to a format that works for firebase?</p>