Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom notifications for multiplayer invitation

I'm looking for a way to customize default notifications that player receives from friend or other player. Currently there are only default notifications.

like image 568
copied Avatar asked May 17 '26 22:05

copied


1 Answers

You must implement com.google.android.gms.games.multiplayer.OnInvitationReceivedListener.

Then you have to override onInvitationReceived to display a custom notification when you receieve an invitation.

It's just that simple. Any other questions don't hesitate to ask :)

like image 186
Ogen Avatar answered May 21 '26 03:05

Ogen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!