Here is how I am doing it.
const saveImage = async () => { const id = firebase.firestore().collection(\'food\').doc().id const storageRef = firebase.st