React-Native: Convert image url to base64 string
<p>I'm building a react native app that needs to store images at base64 string format for offline viewing capabilities.</p>

<p>What library / function would give me the best result to store the image as base64 string? assuming my url is "<a href="http://www.example.com/image.png">http://www.example.com/image.png</a>".</p>

<p>Also, do I need to make http request to get it before storing it as a string? my logic says yes, but in react native you can load images on the &lt;Image> component without request them first from the server.</p>

<p>What would be the best option to do this in react native?</p>