android - How do I display base 64 images that are saved in my SQLITE database in React Native -
i have images stored in database. did convert them blob base64 website. fetched base 64 database , passed down part of props , trying display below:
<image source={{ uri: `data:image/png;base64,${props.backgroundimage}` }} style={{ width: '40%', height: '10%', alignitems: 'center', margintop: 40, resizemode: 'contain' }} />
my screen appears blank , not see image when component renders. there appears no error. doing wrong ?
Comments
Post a Comment