title: how to download a image and save it into localStorage in a react native app
body: <p>it seems like fetch is not working on image download.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>fetch("url to image").then((resp) =&gt; { 
    return resp.blob(); 
  })</code></pre>
  </div>
  </div>
  </p>