Im making application with firebase it has projects and users signed up for projects how should I approach making a chat between users signed up? I was thinking of creating a socket for each user and having a main chat socket for each project and each user socket will connect to the main chat socket of that project will save the messages to firebase and display them etc. But then I run in to the issue of what if not all users are online and I create sockets for users who are not online can I check if a users is online?Or if there is just better ways to do it? Thanks!
Submitted June 03, 2020 at 12:29PM by draganov11
No comments:
Post a Comment