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
2 ответов
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);
});
0
😂😂😂