0
Ola, So I’m doing a project, and I need the user image to appear right away when it’s loaded. For this I’m using firebase Storage, and I can get the URL of the image I need, which in this case is : https://firebasestorage.googleapis.com/v0/b/projetotindoar.appspot.com/o/images%2FhAV6dDpbHxgWV9XJnd76gnK2x513? alt=media&token=58815f99-7dfd-440b-8f34-6de363b8f0e5
However, using the code below, the image is not showing. What I do?
Code :
{/*Foto do Usuario*/}
<View style={styles.fotoUsuario}>
{console.log("URL DA IMAGEM : ",this.state.imgUrl)}
<Image source={{uri:this.state.imgUrl}}/>
</View>
The result that appears in the console.log is the same link mentioned above. Thanks in advance.
William.
Add how the style is, the content of the
styles.fotoUsuario
. I already say that for the image to be shown you should put the values of height and width– sant0will