react-native-cached-image
react-native-cached-image copied to clipboard
Sometimes image doesn't show (only Android)
const image = {uri: 'http://my.bamps.online/cfs/files/images/D8Xg27puAiqjvKetD?store=normal'}
export default class App extends Component<{}> {
render() {
return (
<View style={{backgroundColor:'#777'}}>
<CachedImage source={image} style={{width: 100, height: 100}}/>
<CachedImage source={image} style={{width: 200, height: 100}}/>
<CachedImage source={image} style={{width: 300, height: 100}}/>
<Image source={image} style={{width: 100, height: 100}}/>
<Image source={image} style={{width: 200, height: 100}}/>
<Image source={image} style={{width: 300, height: 100}}/>
</View>
);
}
}
Android:
iOS:
Happened with me too. I don't know how to reproduce this but sometimes the default image does not show on android
@FiW @pavanmehta91 have you guys managed to fix it. this seems like major issue to me. I have a carousel and its trying to render with CachedImage but out of 10 only 2 images appear. remaining ends in the onError
callback.
have anyone solve this issue? I have same problem here