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()
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()
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>