kfiroo / react-native-cached-image

CachedImage component for react-native
MIT License
938 stars 470 forks source link

Sometimes image doesn't show (only Android) #108

Open kuznetsov-online opened 6 years ago

kuznetsov-online commented 6 years ago
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: 2017-12-06_14-32-52

iOS: 2017-12-06_14-33-26

pavanmehta91 commented 6 years ago

Happened with me too. I don't know how to reproduce this but sometimes the default image does not show on android

bitshadow commented 6 years ago

@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.

fthrhmn commented 5 years ago

have anyone solve this issue? I have same problem here