其他分享
首页 > 其他分享> > android-邀请多人游戏时发送通知(Game Services)

android-邀请多人游戏时发送通知(Game Services)

作者:互联网

我正在玩Google Play游戏服务和多人游戏支持.如果我邀请玩家使用这项服务,是否可以自动将通知发送给接收者?当我使用演示项目时,不会发生这种情况. documentation却说:

If the signed-in player accepts an invitation from the notification area on the Android status bar, your app should accept the invitation and go directly to the game screen (skipping the main menu).

这并不是明确表示支持通知,但至少给了我一些希望:-).根据此问题:似乎支持Google play game services invitations get lost通知,但是我从未收到任何通知.

解决方法:

通知是受支持的,并将被发送到接收方的玩家…如果玩家不在彼此的圈子中,则有时不会显示该通知,具体取决于接收者的设置.也许那就是为什么你什么都没收到?

标签:google-play-services,google-play-games,android
来源: https://codeday.me/bug/20191030/1970428.html