From eba6c379c3bb32aecfb570ccd480df6c3c7e1ee4 Mon Sep 17 00:00:00 2001 From: Gant Date: Fri, 5 Aug 2016 08:56:58 -0700 Subject: [PATCH] - Update remote image example Summary: I've seen quite a few newbs trip on this, so I'm fixing it. First - you have to set the width/height on a remote image, otherwise nothing shows. This is [even on stack overflow](http://stackoverflow.com/questions/30091398/unable-to-display-image-with-react-native-with-uri). Second - with the addition of ATS in iOS most people who copy/paste this example will not be able to load an insecure image, so I changed it to the `https`. **RESULT** this doc becomes copy/paste friendly again for beginners. Closes https://github.com/facebook/react-native/pull/9235 Differential Revision: D3675478 Pulled By: JoelMarcey fbshipit-source-id: 5b414caa40cda72dec4eace686278c26c251c4bb --- Libraries/Image/Image.ios.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Libraries/Image/Image.ios.js b/Libraries/Image/Image.ios.js index 279c571cc..8b969ad21 100644 --- a/Libraries/Image/Image.ios.js +++ b/Libraries/Image/Image.ios.js @@ -49,7 +49,8 @@ const ImageViewManager = NativeModules.ImageViewManager; * source={require('./img/favicon.png')} * /> * * * );