How to Design Firebase Collection and Documents for Chat App

preview_player
Показать описание
How to Design Firebase Collection and Documents for Chat App
Flutter Chat App Udemy Course

📕📕📕Learn about our excellent course
Flutter Multi Vendor App
Flutter Single Vendor App
📕📕📕📕📕
Рекомендации по теме
Комментарии
Автор

Good video! 👍

One issue with the fields in your message collection, you set from_name, from_picture, to_name etc. but if the user update those information you have to update your whole message collection when those values changes. You could only set just the id and query user to retrieve those informations.

emranimam
Автор

but how does the receiver will know, that it has received a message, you will have to search in all the documents in message collection, don't you think, that is cumbersome?

MaTlaBAdda
Автор

Hello Sir, thanks for the video. @ 1:38: Why do you have an id in the user document? Could you not just use the document id as the user id? Thank you!

sbhbbbo
Автор

Hello. Tell me what the theme in yours IDE. Thank you.

kbddnbk
Автор

thank you sir ! this will help us a lot ☺

imyogisingh
Автор

I love your videos bro.
Do the video from the beginning pls😭

brainiactech
Автор

This is really amazing I wish you could explain how you did it via code

probelens
Автор

Wa Alaykum Salaam Wa Rahmatulahi Wa barakatuhu.

paininmydroid
Автор

Hello and 🙏.
User id seems to differ from user uid. How to get that id. It that id unic?

wilsontoussile
Автор

bhai github ka link bhi daal dete, garibo ki madad ho jati

MaTlaBAdda