Upload an Image in Firebase Cloud Storage and Link to Firebase Firestore Database

preview_player
Показать описание
Store an image we've captured with the Camera into Firebase Cloud Storage. Firebase Cloud Storage allows us to upload binary data, like images and videos. In this video, I show how to upload to Firebase Cloud Storage by using FirebaseStorage imports. Then, I show how to get a URL for the upload, and link the upload to a record in Firebase Cloud Firestore, also known as Firebase Database. This is an important concept, because you cannot store binary files directly in Firebase Database, while you can in Firebase Cloud Storage, and then you can link the two records together.
Рекомендации по теме
Комментарии
Автор

Thanks sir... Please make a video Firebase database downloading and saving to local mobile Room Database.. I don't know why there is no youtube video on this (to my knowledge). this is a most requirement in making real projects wherein backing/restoring of local room database on cloud featured is required.

sat_talk
Автор

getCameraImage() is a new function for me. Did I miss a video? I went back 3 videos and did not find the UI implementation for displaying the photo. I will keep digging, and look at your github.

thomaswaldorf