I want to achieve following functionality : I have data that is displayed to users, one user can change the data and I want all other user to see the changed immediately. I want real time communication between users. I thought, since I use Firebase Cloud Messaging, to send notification to all users and on “pushNotificationReceived” event I update their data.
My question is: Is this good solution to the problem, what would be the better way?
Also since I send Push Notification using Firebase, it is displayed to user, is there a way to send it without showing Push Notification to user just so event triggers and I update information.