Link Image from Firebase Storage to Firebase Database

Описание к видео Link Image from Firebase Storage to Firebase Database

How do you save an image in Firebase? In this video, we show how to link an image from Firebase Cloud Storage to a record in Firebase Database. In previous videos, we've covered adding a record to Firebase Database, uploading an image to Firebase Storage, and using Firebase Authentication to login. This video ties all of those previous concepts together, so that we can effectively store large files in Firebase, and access them from a database. To do this, we have to
1) add a blank URL to the DTO we want to save,
2) save the DTO to Firebase,
3) get a key from Firebase database when we store the DTO,
4) save the image to Firebase storage,
5) get the Image URI, and then
6) update the DTO record in Firebase database with the Image URI.

We walk through those steps by writing the code, then seeing a demo in the debugger.

This video is part of a playlist on Android development, located here:    • Mobile UX/UI Case Study: Before and A...  

Source code is freely available on GitHub at: https://github.com/discospiff/PlantPl...

Комментарии

Информация по комментариям в разработке