I'm learning and doing a project on react-native. I am having problems in trying to render images from the local server. I figured out the way to render images, the problem I am facing is that the image from the local server does not render in my app. The link I added to the uri in source shows image in browser but does not render it in the app. I don't know where I am going wrong
I've tried checking if the link works or not, I used placeholder images to check if Image was working properly (it is).
<Image source={{uri: 'http://10.0.2.2:8000/packageImages/asd1.jpg'}}
style={{width: 400, height: 400}} />
I expected the image to render but it does not render, nor does it throw any error.