Sign In Register

How can we help you today?

Start a new topic
Answered

How can I push rather than pull challenge notification?

 I want a player that is challenged to receive a popup message right away rather then just query list of active challenges every few seconds. How can I achieve that? Some standard way of doing it?


Many thanks


Best Answer

Hi Ondrej,


Here is some documentation on using Push:

https://docs.gamesparks.net/howtos/push-notifications/android-push-notifications

https://docs.gamesparks.net/howtos/push-notifications/how-to-configure-ios-push-notifications


Also check out our docs on Messages: 

https://docs.gamesparks.net/developer-portal/notifications


Thanks,


Oisin



Answer

Hi Ondrej,


Here is some documentation on using Push:

https://docs.gamesparks.net/howtos/push-notifications/android-push-notifications

https://docs.gamesparks.net/howtos/push-notifications/how-to-configure-ios-push-notifications


Also check out our docs on Messages: 

https://docs.gamesparks.net/developer-portal/notifications


Thanks,


Oisin


Hi Oisin, 


many thanks for a guidance, it helped a lot. Just a little question on top of that. Do I need to setup a push notification for all the platforms like Android, iOS and Windows to be able to use GameSparks messages?


Thank you,

Ondrej

Hey Ondrej,

You only need to setup push notifications if you want to get a push to the device.
In script, you can just use a message listener to detect the socket-message.

Sean

 

Login to post a comment