Displaying A Local Image File In The UI on Android (React Native)

<Image
  style={{ width: image_width, height: image_height }
  source={{ uri: `file://${local_file_uri}` }}
/>

The width and the height values appear to be required. Also, some tutorials will say to use file:/// (three slashes). That worked for me in IOS, but not on Android.

Displaying A Local Image File In The UI on Android (React Native)

Leave a Reply

Your email address will not be published. Required fields are marked *