Sign In Register

How can we help you today?

Start a new topic
Answered

Questions regarding sendMessage and push notifications

Using the test harness I can see that I can use sendMessage to send a message to an offline player and the next time that player connects they will receive the message after authenticating.


My question though is regarding how this will behave with a push notification. If I'm simply using sendMessage and not sendMessageExt or sendMessageWithoutPush will it default to sending a push notification? If so, what will the push notification display if I'm not using sendMessageExt?


Also, if the player receives a push notification will they then still receive the message after authenticating?




Best Answer

Your first question is entirely dependant on how you have ScriptMessage set up in the messages screen:

You can toggle send as push to prevent a regular scriptMessage from being sent.


For your second question, we will first try to send the message through the webSocket and failing that we will send the push notification. The player should get the message via websocket when they log back in as it could contain data needed for your game to continue.


Shane


1 person has this question
1 Comment

Answer

Your first question is entirely dependant on how you have ScriptMessage set up in the messages screen:

You can toggle send as push to prevent a regular scriptMessage from being sent.


For your second question, we will first try to send the message through the webSocket and failing that we will send the push notification. The player should get the message via websocket when they log back in as it could contain data needed for your game to continue.


Shane

Login to post a comment