V
V
Viktor2019-06-24 14:32:02
firebase
Viktor, 2019-06-24 14:32:02

How to get filename in firebase?

Hello!
I store pictures in sorage firebase. I have the name of the image and its url. I need to implement image deletion.
This is how I implement the removal of firebase.storage().ref(`imageAbonents/-Li7sw0IqSISlNAZXo6f.jpg`).delete(). However, I have a name and no file extension. The question is how do I get either the name of the picture or its extension. Thanks in advance!!!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question