react-native icon indicating copy to clipboard operation
react-native copied to clipboard

<Image /> component is not working with external URL on Android

Open olebedev opened this issue 10 years ago • 2 comments

Does anyone know why <Image /> component with external(HTTPS) URL is not working correctly on Android?

I've tried to render avatar but Android just skip this <Image /> component like it does not exist.

I'm a newbie in RN and Andriod, thanks in advance.


  1. rnplay - https://rnplay.org/apps/9v6bpg
<Image source={{
    url: "https://yabs.yandex.ru/resource/B4_LwOqnl6akXYQRO4jj2R_banana_20141031_1.png",
  }} style={{width: 148, height: 90}} />
  1. [email protected]
  2. It occur on Android only
  3. I'm using Mac

olebedev avatar Jul 16 '16 07:07 olebedev

It does not work because you are using url instead of uri (ends with 'i')

mateoKaradza avatar Jul 16 '16 09:07 mateoKaradza

Thanks! It's strange that it works in iOS..

olebedev avatar Jul 16 '16 09:07 olebedev