Firebase get Download URL after successful image upload to firebase storage
问题 I am trying to upload a single image to Firebase Storage, then grab its download url and assign this to a variable. I can upload my image to firebase successfully, however I cannot retrieve the download url. here is what I have tried already. upload() { let storageRef = firebase.storage().ref(); let success = false; for (let selectedFile of [(<HTMLInputElement>document.getElementById('file')).files[0]]) { let router = this.router; let af = this.af; let folder = this.folder; let path = `/$