Share data between users

Hi, I’m making an app for gamers, to run statistics and so. What may be the best way to share data between people that have installed my app? For example, let’s say that in a certain game group there are six members, but only two of them play a fifa 2020 game. What is the best way to inform the other players that Pete win 2-0 over John? I have an MySql database integrated in the app.

Any help would be appreciated

Are there any methods you’ve considered already?  Are you looking for a larger scale theory or smaller technical approaches?  How soon does the group need to be notified?

Hi sporkfin, I am looking for a concept approach. I want the user (all the users in the group) to have equal data and notifications. Is it better to use some kind of database and a web server and just wait for the user to start the app to receive notifications? Or maybe should I use cloud Firestore (or another similar service)?

Thank you for your time

Firebase realtime database would be a cheap and easy method: https://firebase.google.com/products/realtime-database/

You could also look into AWS.

I think you mean Firebase cloud messaging?

@guidobono

If you already have a mysql database you can study the API from a notification service like Onesignal, and try to integrate with your app. when a game ends for example, you can send info to the database and to the notification service to deploy a msg to all the others users.

Realtime database would be correct bet if the plan is to share more than just text based messages. Right? If it is just txt then cloud messaging is better

@carloscosta, it’s exactly as pixec said. Since the OP stated that “I’m making an app for gamers, to run statistics and so”, I didn’t consider that cloud messaging would be sufficient for their needs as it is not concerned with data storage.

Thank you all for your suggestions.

Realtime database would be correct bet if the plan is to share more than just text based messages. Right? If it is just txt then cloud messaging is better

And which tool do you recommend to use this approach(real time database)?