title: Firebase not returning downloadURL in metaData with typescript and Ionic3
body: <p>I have been struggling for days now to get Firebase to return the downloadURL in the metadata. By all accounts it should be there as the metadata includes fullPath and other info, but just not downloadURL.</p>
  
  <pre><code>  addItem(
  itemName: string,
  eventId: string,
  itemPicture: string = null
  ): PromiseLike&lt;any&gt; {
      return this.activityListRef
        .child(`${eventId}/itemList`)
        .push({ itemName })
        .then(newItem =&gt; {
          this.activityListRef.child(eventId).transaction(event =&gt; {
            return event;
          });
          if (itemPicture != null) {
            return firebase
              .storage()
              .ref(`/item/${newItem.key}/profilePicture.png`)
              .putString(itemPicture, 'base64', { contentType: 'image/png' })
              .then(savedPicture =&gt; {
              console.log(savedPicture.metadata);
                this.activityListRef
                  .child(`${eventId}/itemList/${newItem.key}/profilePicture`)
                  .set(savedPicture.downloadURL);
              });
          }
        });
    }
  </code></pre>
  
  <p>if I log that in the console, I can see everything except downloadURL</p>
  
  <p>I also tried changing
  .set(savedPicture.downloadURL);
  to
  .set(savedPicture.metadata.downloadURLS[0]);</p>
  
  <p>but still there are no downloadURL items in any of the response parameters.</p>
  
  <p>Any ideas?</p>