Junaid Ahmed
Junaid's Blog

Follow

Junaid's Blog

Follow

Upload Picture and get download URL

Junaid Ahmed's photo
Junaid Ahmed
·Aug 9, 2018·

1 min read

Play this article

Use getDownload as promise not observable.

firebase.storage().ref().child(‘some text’).getDownloadURL() .then(response => this.someTextUrl = response) .catch(error => console.log(‘error’, error))

check this out for more

https://www.javascripttuts.com/using-firebase-storage-in-ionic/

 
Share this