Cursos / Informática para Internet / Desenvolvimento para Dispositivos Móveis / Aula
Agora, veremos como podemos pegar uma imagem na internet e usá-la no aplicativo. Além disso, veremos uma codificação que permite codificar a imagem no próprio código.
Para utilizar uma imagem que esteja na internet, iremos passar na propriedade source um endereço, ao invés de uma requisição.
Porém, ainda há um problema: o react precisa conhecer o tamanho da imagem para exibi-la. Então, adicionaremos um atributo style, informando a largura e a altura que a imagem deve ter.
Veja abaixo o exemplo:
<Image style={{ width: '95%', height: '70%' }} source={{ uri: 'http://reactjs.org/logo-og.png' }} />
Para codificar uma imagem iremos abrir um novo terminal e acessar a pasta /assets/react. Dentro dessa pasta existe a logo do react.
Execute em seu novo terminal o comando abaixo:
base64 logo-og.png
Esse comando retornará uma sequência de caracteres que é a codificação da imagem.
Copie essa codificação e crie a variável abaixo:
const data = 'data:image/png;base64, {CODIFICAÇÃO DA IMAGEM}'
Agora poderemos usar essa variável na propriedade source do componente.
Ao final da aula, seu código deve ficar como se observa abaixo:
import { StatusBar } from 'expo-status-bar';
import React from 'react';
import { StyleSheet, Text, View, Image, Platform } from 'react-native';
export default function App() {
const data = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABLAAAAJ2CAMAAAB4notuAAAC7lBMVEUiIiInMDMwTFM2XGc8b30/eIdBfIxEhJZBe4w/doY7anc1WGItQUclKy0jJicyUlpCf5BQqcFdzexh2vtczOtQqMBEhZc4YW0pODw3YWwjJCU0V2FLm7Bdz+5Ywd1IkKQ3YGslLC5YwNxMm7EjJSUmLzFbx+Vf1fVOpLs6aHUnMDIlKyxg1vdNoLZe0O82W2Vax+QoNDc2XGZMnbRg1vZKlaouRUtMnrQvSE9axOExT1dQqsIvSVBRqsNAeYlh2fouRUxAeopBfY1h2flLmK5Lma5Cfo88bntf1PNDgZI+dYQ1WmRg2PhaxeI3Xmk3X2krPUJPp78rPEFPpr5e0vIkKStWutVf1PRXvNhGip1ZxOFNoLdFiJs7bHlGi55XvtpVttAtQ0k/doVFiJowS1NRrMU7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sPmiErzT6gu7k/Pg43ySvb0XY6RCTqLp/PFANWwkl1vyExejisNbLU+mp6iA3pVw0nKycwxfzLISKRdy5TxWZdkQ/TsB0nzKeXFqfCh1On0Mv8CTsOgyl/3awYU50LEYm+4tF0Mur9RYfvjF+0/WmvY18axTRWT4Mv0y5jGnNnHbvXT9X4Re3zA++YQicriiEiTcCrCbqJ19cVMBN1Y+Db1nXMREFdfZxuEq9CRJqENxhQ7I62CKDtHTEG9AZEpGlItmcgy5shoGbLGUj7JESkiahdTP/q3ytCYEXv1dO/3rUQkSajoZA+zf9+K4Riq+/n06fCBohIE/JDIX3pOAyhGdaRvhT+ABFpUmqWM3vdrkGoRnRj9pbXQESamNr2zNKAIxC6IwYwS+1rISJNTuUx85m5+EsjkBMjXoozc/OPqYSINEWdxzJD5f/thZzp9d9yZmhsd4hIE1V0bXNmYGy/WuRU7WdjmYHm1xZBRJqu6hub01vXi2ZiI5h5UVd6a35iNUSkaZt05XK6Omv7w5PYSJKHb38WXb1w5SRARGTYvCEdaIvffNijb2Eje+vRw26O09ZhyNHDICLym0+aDf6+5d9HlZKl9V3Xdzl3m7eLsYkUv73NuV3Wd60vJUtH/b3ld4Ov+QT/1w4cCAAAACAM87eOIIJvAAAAAEAeAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHwDnrFHvjsWDNAAAAAASUVORK5CYII= '
return (
<View style={styles.container}>
<Image style={{ width: '95%', height: 400 }} source={{ uri: data }} />
<StatusBar style="auto" />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
});
Versão 5.3 - Todos os Direitos reservados