react-native-firestack
react-native-firestack copied to clipboard
[V3] storage meta data
Noticed two issues when it comes to file meta data
Upload works fine, but meta data is not showing up in firebase storage dashboard
firestack
.storage()
.uploadFile('myfilename.jpg', myfile.uri, {
test: '12343',
}, (event) => {
console.log('event: ', event);
})
the other thing is that there is no way to access meta data in firestakc as far as I know
firestack
.storage()
.ref(resp.fullPath)
.getMetadata()
.then((resp) => {
console.log('meta data', resp);
})
getMetaData() from JS SDK is not implemented (yet?)
@florianbepunkt This should now work on v3 - let me know if there are any issues