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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -