I am doing a login with Facebook in the app. where I get a user profile pic. Facebook SDK returns a profile pic URL.
I have saved this file in directory assets/download.jfif
and I get it in the RegisterScreen.js
like this
<Image
onError={() => console.log('Error')}
onLoad={() => console.log('On Load')}
onLoadStart={() => console.log("onLoadStart")}
onLoadEnd={() => console.log('onLoadEnd')}
style={{width:normalize(35), height:normalize(35)}}
source={require('../assets/download.jfif')}
/>
but this gives me an error
`[Error: undefined Unable to resolve module `../assets/download.jfif` from src\screens\RegisterScreen.js`:`