Firebase Storage: putData(), download URLs without touching fs
complete
Gary Fung
Great library covering all of Firebase you got here!
I'm looking for a way though, to put and get large JSON or text blobs that I want to store outside of the database. Is there a way to upload and load such text strings without involving unnecessary files on local filesystem on device?
For upload, it seems this would involve
putData
instead of putFile
this library currently supports: https://firebase.google.com/docs/storage/ios/upload-files#upload_from_data_in_memoryFor download, it could be by generating a download URL, and then running RN's fetch() for it?
Pointers welcome, if this is already possible without requiring more library support to put and get files in Firebase Storage. http://invertase.io/react-native-firebase/#/modules/storage refers to local paths, but I don't see how I can use local paths without using another library to enable such use, and I'd really like to minimize library dependency, besides writing and reading from disk when it's not necessary.
Original issue: https://github.com/invertase/react-native-firebase/issues/260
Mike Diarmid
complete
Hey all, this is now supported in the upcoming v6 release (unreleased), see the WIP changelog - this also includes
putString
as well :)Mike Diarmid
planned
Gurmukh Panesar
Please also support putString!