title: React Native Expo convert URL image to Base64
body: <p>I am working on a app which loads images from api. The requirement of the app is to store these images offline in app database which is based of sqllite. Only way i think is that to convert images into base64 string &amp; it will be easy for me to show images.</p>
  
  <p>I used RN-Fetch-Blob Library before but expo don't supports that. So i am looking for a way to do that but i didn't find anything.</p>
  
  <p>I tried this library react-native-image-base64</p>
  
  <p>But it donn't work</p>
  
  <pre><code>ImgToBase64.getBase64String('http://i.imgur.com/XP2BE7q.jpg')
          .then(base64String =&gt; console.log(base64String))
          .catch(err =&gt; console.log(err));
  </code></pre>
  
  <p>Anyone tell me the how i can convert image to base64 in Expo?</p>