I understand how to upload/download images. Wondering best practice how to manage this data inside firebase console?
We mostly going to upload pictures/videos and send it between users via private chat/group chat within our app.
So I started to create this:
should i add pictures to users e.g:
/users/<userId>/images/<image-file>
how would be good to share a picture on chat-group?
/groups/groupId/images/<image-file>
this is how our firebase structure deals with group messages
/groups/<groupId>/<messageId>
If expanding messageId u see the message,userId(who wrote the message and timestamp)
suggestions would be welcomed
Thanks.