I agree, this seems like a design flaw. I am also developing a turn-based game in which a player can take several actions before transferring control to the next player. Meanwhile, I want other players to witness each action while they watch the game. If other players do not start the application, I want them to receive a push notification only when the control is transferred to another player.
Instead of using saveCurrentTurnWithMatchData: I use endTurnWithNextParticipants: but I am specifying the current player and not the next one. This seems like a trick:
NSTimeInterval interval = 86400; // seconds in a day [currentMatch endTurnWithNextParticipants:[[NSArray alloc] initWithObjects:currentMatch.currentParticipant,nil] turnTimeout:interval matchData:[self packMatchData] completionHandler:^(NSError *error) { if (error) { // handle error } } ];
source share