Receiving a GKTurnBasedExchange does not add the match to the player's active game list
| Originator: | wlisac | ||
| Number: | rdar://17497144 | Date Originated: | 28-Jun-2014 02:53 PM |
| Status: | Closed | Resolved: | Yes |
| Product: | Game Center | Product Version: | |
| Classification: | Reproducible: | Always |
Player 1 starts a new GKTurnBasedMatch and invites Player 2 to play. Player 1 sends a GKTurnBasedExchange to Player 2. Player 2 receives the GKTurnBasedExchange, but does not tap the push notification. The problem is that this match is not added to Player 2's list of active games. The match does not appear in Game Center and the match is not returned via the GKTurnBasedMatch class method +loadMatchesWithCompletionHandler:. The match only appears in Player 2's list of active games if Player 2 taps the exchange push notification or if the turn is passed to Player 2. Receiving a GKTurnBasedExchange should add the match to the players list of active games so that the match is not lost. Steps to Reproduce: 1. Create a GKTurnBasedMatch with 2 or more players 2. Player 1 sends a GKTurnBasedExchange request to Player 2 3. Player 2 does not tap the push notification 4. Player 2 opens Game Center and looks at the list of active games and does not see the match Expected Results: Player 2 should see the match in the list of active games. Also, the GKTurnBasedMatch class method +loadMatchesWithCompletionHandler: should display the match when called in the app if Player 2 is authenticated. Actual Results: Player 2 does not see the match in the list of active games or with the GKTurnBasedMatch class method +loadMatchesWithCompletionHandler:. Version: All versions of iOS 7 (including 7.1.1) Notes: The docs say: "You can build a game by adding exchanges to the existing turn-based gaming model or create a game solely through the use of exchanges." (Link below.) If Player 1 starts a game, passes the turn to Player 2, and Player 2 does not tap the push notification, the game still shows up in Player 2's list of active games. This should also happen with exchanges since exchanges are asking Player 2 to take an action. This is a more specific follow up to a radar that has been fixed and closed: 15592848 https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/GameKit_Guide/ImplementingaTurn-BasedMatch/ImplementingaTurn-BasedMatch.html#//apple_ref/doc/uid/TP40008304-CH15-SW1 Configuration: This happens on all devices I've tested: iPhone 5s, iPhone 5, iPhone 4s, iPhone 4, iPad mini with Retina Display, and iPad mini.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!