title: How to get file from cache file from expo image picker
body: <p>I use Expo Image Picker:  <a href="https://docs.expo.io/versions/latest/sdk/imagepicker/" rel="nofollow noreferrer">https://docs.expo.io/versions/latest/sdk/imagepicker/</a></p>
  <p>and after get image from gallery or camera, it return this result:</p>
  <pre><code>{
    &quot;cancelled&quot;:false,
    &quot;height&quot;:1611,
    &quot;width&quot;:2148,
    &quot;uri&quot;:&quot;file:///data/user/0/host.exp.exponent/cache/cropped1814158652.jpg&quot;
  }
  </code></pre>
  <p>but, what I get is uri only, I need the file, how to get file from that cache uri?</p>
  <p>I need to upload that file to server using this</p>
  <pre><code>module.exports.uploadFile = function(file) {
      return new Promise((resolve, reject) =&gt; {
          myServerApi.upload({
              file,
              fileName: file.name, 
          }, function(err, result) {
              if(err) reject(err);
              resolve(result);
          })
      })
  }
  </code></pre>