0
For example:
- I have 5 mobile devices listening to events
- A device lost connection
- The server triggers an event
- Four connected devices receive the event
- Disconnected device loses event and then reconnects
He must receive the lost event.
But the server does not know which clients did not receive their event. What can I do?
Do you have a database? Do you keep any records of connected devices?
– Sorack
Yes I have database and a Rest API also for other app routines, but I don’t save the connected devices in the database.
– Daniel
If you save to the bank it is very easy, otherwise you will have to maintain an array with identifications on your server
– Sorack
But in addition to saving the connected clients I would have to make the clients warn the server if they received the event, then the server would send again so that did not warn, it would be something like this?
– Daniel