Saturday, 15 June 2013

ios - Missing Invitations in Game Center Sandbox -



ios - Missing Invitations in Game Center Sandbox -

i'm experiencing strangest behavior game center.

i'm setting turn-based matches gkturnbasedmatch , friends. authentication of local player works perfectly. using gkturnbasedmatch class method loadmatcheswithcompletionhandler: seems sensibly homecoming gkturnbasedmatch objects. initiate new matches , invites game center friends, utilize standard gkturnbasedmatchmakerviewcontroller.

when create matches gkturnbasedmatchmakerviewcontroller, show there when showexistingmatches property yes, game creator.

however, if invite player using gkturnbasedmatchmakerviewcontroller, receiving player never receives invite. no game center force notification, , no (except 1 time or twice, , sporadically) game "invited" heading in gkturnbasedmatchmakerviewcontroller.

strangely enough, player receive "game over" game center notification if initiating user ends game created invite.

using loadmatcheswithcompletionhandler:, returned matches create sense inviting player (correct playerid values in participants, right gkturnbasedparticipantstatus on participants), nil shows @ invited player.

i'm using 2 separate devices, both logged sandbox mode of game center, , set in itunes connect, etc. both game center accounts set take invites.

anyone ever seen this?

possible solution: when inviter made first move, , message endturnwithnextparticipants:turntimeout:matchdata:completionhandler: sent, wasn't sending proper participants in first argument, , turn never set invitee's.

ios objective-c cocoa game-center gamekit

No comments:

Post a Comment