Closed aaronksaunders closed 8 years ago
Hey @aaronksaunders,
This unfortunately is a known limitation of Firebase Storage.
React Native operates in a Node.js environment and Firebase Storage only supports File
and Blob
types which are browser dependent.
Check the blog post for more info: https://firebase.googleblog.com/2016/07/firebase-react-native.html
+1 It is really unfortunate that Firebase on React Native dose not support uploads.
@yaronlevi https://github.com/aaronksaunders/Firebase3-ReactProject it can be done with some magic of plugins and polyfills...
I believe this is an issue in React-Native's implementation of the binary upload, but I will start here since I am getting an error message back
Code
I see the same issue on IOS/Android... goes into the Firebase source and then it is over...
BTW the code works in regular reactJS
See here... https://jsfiddle.net/Aaronksaunders/69z2wepo/48545/