title: React-Native: Download Image from Firebase Storage
body: <p><strong>Pre-Informations:</strong></p>
  
  <p>I still have a Firebase project opened and I am successfully still using the Firebase Database (<em>So the</em> <code>firebase.initializeApp(config)</code> <em>works</em>). 
  I uploaded several Images at my Firebase Storage in the folder "<em>/Images/</em>" and named them <em>image1.jpg</em>, <em>image2.jpg</em>,..</p>
  
  <p>React-Native: 0.31.0, 
  Firebase: 3.3.0</p>
  
  <p><strong>What I want:</strong></p>
  
  <p>I want to get the Image from the Firebase Storage and put them into an <code>&lt;Image&gt;</code></p>
  
  <p><strong>What I actually did:</strong></p>
  
  <pre><code>var storageRef = firebase.storage().ref('Images/image1.jpg');
  
  //1. Try:
  storageRef.getDownloadURL().then(function(url) {
    console.log(url);
  )}
  
  //2. Try:
  var sampleImage = storageRef.getDownloadURL().then(function(url) {
    console.log(url);
  )}
  
  //3. Try:
  var sampleImage = storageRef.getDownloadURL();
  </code></pre>
  
  <p><strong>Informations about the code:</strong></p>
  
  <ol>
  <li><p>The code doesn't reach the <code>console.log(url)</code> point</p>
  
  <p>2.1. Tried to use the <code>sampleImage</code> as <code>source</code> in a <code>&lt;Image&gt;</code> object: <strong>empty Image</strong></p>
  
  <p>2.2. Tried to <code>log</code> the <code>sampleImage</code>: <strong><code>undefined</code></strong></p>
  
  <p>2.3. Tried to <code>log</code>the <code>url</code>: <strong>didnt reach this point</strong></p>
  
  <p>3.1. Tried to use the <code>sampleImage</code> as <code>source</code> in a <code>&lt;Image&gt;</code> object: <strong>empty Image</strong></p>
  
  <p>3.2. Tried to <code>log</code> the <code>sampleImage</code>: <strong><code>{ F: 0, ka: undefined, o: { F: 0, ... } }</code></strong></p></li>
  </ol>
  
  <p>All tries returned the same error code after 2-3 minutes.</p>
  
  <blockquote>
    <p>Firebase Storage: Max retry time for operation exceeded, please try
    again.</p>
  </blockquote>
  
  <p>Thank you very much in advance for you help.</p>