Delete web firebase folder

3

How to delete a folder from storage?

To delete a file I use:

firebase.storage().ref('pasta/arquivo.png').delete()

But it does not work if I use it directly in the folder:

firebase.storage().ref('pasta').delete()
    
asked by anonymous 03.03.2018 / 03:44

1 answer

3

The documentation says that the delete() method only serves to delete files. It is not yet possible to delete folders, as indicated in this firebase-talk forum . p>     

03.03.2018 / 09:39