Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let storageRef = firebase.storage().ref('newimage.jpg');
- storageRef.delete()
- .then(() => {
- console.log('success')
- })
- Here I can easily delete a file from storage of firebase, but I have the file name only which is 'newimage' , But I don't know the extention name, Whice would be jpeg,jpg,png etc.
Add Comment
Please, Sign In to add comment