Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29880

React Native: uri image display black block, after some moment app crash

$
0
0

I am trying to display an image from a URL. In the emulator, the image displays perfectly. When I run this on the device it displays a black block and after some moment the app crashes without any error.

If I remove borderRadius, borderColor, borderWidth property from Image style it works perfectly. But I need the circular shape.

I tried to native-base Thumbnail instead of Image but the problem persists. Then I tried to make a circular shape using View with overflow:hidden property but here the image edge not smooth. How can I solve this?

Black Block image in the device:Screenshot: Black Block image in the deviceMy code:Screenshot: My code


Viewing all articles
Browse latest Browse all 29880

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>