I am making a react native app with expo and firebase. I have uploaded photos to firebase successfully as a blob but want to be able to pull the photos down from firebase and display them to the user. I need to be able to display the user's profile photos whenever they log out or back into the app.
I am not finding any documentation in Expo/React Native/Firebase about downloading. I am only seeing docs on uploading and blobs.
Can anyone point me in the right direction? Is uploading the blob form of the photo and downloading it the correct way to save photos from a user's phone to the database?
These are the resources I have reviewed:
react-native-image-crop-picker
and after the user chooses his photo I got the path and save it to Firebase storage as a real image ".jpg" using putFile method from firebase storage, and after that, I get the download URL and save it to a database, So is this way right? – Oliver D Nov 9 '19 at 15:29