In order to make notification bubbles appear in the app, we will need to have some way of knowing what messages a player has seen. The server should implement some new data field to track this and the server should track this when the player accesses a GET endpoint from the server.
NOTE: The 'seen' should only update after results are returned from the GET endpoints.
Solution
Once a player has seen (called the GET endpoint) a chat message or game event, the player should be added to the seen list (or the ID/timestamp).
Maybe each game lobby should have a "New content for Player Ids" field that is a list of user IDs. Then when the players login they will be told of new content that they have not seen (ie. messages / events) before they go into the game. Then once the user loads that content their ID is erased from the list.
Enhancement Description
In order to make notification bubbles appear in the app, we will need to have some way of knowing what messages a player has seen. The server should implement some new data field to track this and the server should track this when the player accesses a GET endpoint from the server.
NOTE: The 'seen' should only update after results are returned from the GET endpoints.
Solution
Once a player has seen (called the GET endpoint) a chat message or game event, the player should be added to the
seen
list (or the ID/timestamp).Maybe each game lobby should have a "New content for Player Ids" field that is a list of user IDs. Then when the players login they will be told of new content that they have not seen (ie. messages / events) before they go into the game. Then once the user loads that content their ID is erased from the list.
This is low priority