#In-game messages

2 messages · Page 1 of 1 (latest)

leaden shell
#

Hello, I need to send in-game messages to all players in my game for both android and ios users. The documentation lead me to push-notifications. But both SendPushNotification and SendPushNotificationFromTemplate have a mandatory recipientId. This means that i would have to iterate through all my players and send a notification to each of them. Is there a better way ? I can have thousands if not millions of players...

gray hemlock
#

If you need something to appear for all of your players push notifications might be an inefficient way to achieve that. It might be better to put your notification into something like title readonly data and have your client reach out on start-up and maybe with a periodic interval (every 1 hour or something along those lines) to see if there is a message to be displayed.