I'm using '@react-native-firebase/storage' to try and get a local video file saved to their servers to pull down later in my react native app.
I'm not getting an error weirdly, but i've tried so many different things and cant get anything to work!
help?
let videoFileRef = storage().ref('users').child('testing' + '/videoImage')
fetch(video.uri)
.then(res => res.blob()) // get file ready to send to firebase storage
.then(blob => videoFileRef.putFile(blob)) // send to firebase storage - BROKEN
.then(task => task.ref.getDownloadURL()}) // get download URL
.then(downloadURL => {
firestore().collection('users').doc('testing').set({
donwnloadURL: downloadURL,
})
})