React-native Firebase storage upload using putString call
I'm setting up this thread in order to clarify, whether firebase storage putString method does or does not work in React-native. From what I've searched there is currently no way to upload File or Blob types to Firebase Storage using put method. React Native does not support the File and Blob types, so Firebase Storage uploads will not work in this environment. File downloads do work however. SOURCE: The Firebase Blog Thus this call firebase.storage().ref() .child(userID) .put(new File(['this is a small amount of data'], 'sample-text.txt', { type: "text/plain" }), { type: "text/plain" }) .then