0

Firebase storage issue

Please help me: how do I get firebase storage url I'm trying, ".getDownloadURL().then(function (url){ alert(url); })" But it's not displaying anything please help

23rd May 2022, 8:06 AM
Ikuobase Wisdom Ewaensetin
Ikuobase Wisdom Ewaensetin - avatar
2 Respuestas
0
You'll need to be referencing the object for it. Throw in the catch and see if you're getting any errors with it. yourStorageRef.getDownloadURL() .then(function(url) { // Display the URL alert(url); }) .catch(function(error) { // Handle any errors console.log(error); });
2nd Jun 2023, 9:10 PM
AgentSmith
0
😂😂😂
3rd Jun 2023, 1:26 AM
Ikuobase Wisdom Ewaensetin
Ikuobase Wisdom Ewaensetin - avatar