CodeLinkIO / Firebase-Image-Upload-React-Native

Demo to handle image with Firebase storage
129 stars 22 forks source link

When uploading images or videos, there is no extention on file name #2

Closed chatras closed 7 years ago

chatras commented 7 years ago

Is is possible to have an extension like .mp4 or .jpg on the images and videos uploaded? My video player is not able to play the video that I upload using this package. Any help will be appreciated :)

chatras commented 7 years ago

Nevermind I figure it out. This is my solution const fileName = 'name.jpg'; const imageRef = firebase.storage().ref(folder).child(fileName);