Hey,
I have an ongoing Apple Support ticket, but WWDC is in the way: when the exchange is completed the requester gets the replies notification, but the turn holder gets no notification.
I’m testing using two and three devices.
The project is available on GitHub (which is currently offline!): Gatada/TurnBasedGameFlow
To recreate the issue, create a game for tree players, then start an exchange between the two players that are not the turn holder. As you can see, no notification is received by the turn holder.
Can someone that has gotten exchanges to work, tell me how? Right now, the turn holder will resolve the completed exchanges only when the game is loaded. So if the exchange is completed after the turn holder has loaded the game, she will need to reload the game to end the turn. Which is obviously not a good game experience.
A cheap workaround would be to only allow turn holder to initiate an exchange, but this is according to Apple not a required limitation.
I have an ongoing Apple Support ticket, but WWDC is in the way: when the exchange is completed the requester gets the replies notification, but the turn holder gets no notification.
I’m testing using two and three devices.
The project is available on GitHub (which is currently offline!): Gatada/TurnBasedGameFlow
To recreate the issue, create a game for tree players, then start an exchange between the two players that are not the turn holder. As you can see, no notification is received by the turn holder.
Can someone that has gotten exchanges to work, tell me how? Right now, the turn holder will resolve the completed exchanges only when the game is loaded. So if the exchange is completed after the turn holder has loaded the game, she will need to reload the game to end the turn. Which is obviously not a good game experience.
A cheap workaround would be to only allow turn holder to initiate an exchange, but this is according to Apple not a required limitation.
No, that will not work. First of all - that would mean that the turn holder will be able to act on the exchange. Of course I already tried this, and implemented an immediate "ignore" exchange response from turn holder.
Second, and more importantly, including the turn holder will still not result in the turn holder being notified when the exchange is completed. Which is the entire problem. So including the turn holder changes nothing.
Finally, I managed to book a lab 1-on-1 session with Apple during WWDC, and after some investigation the Apple Tech established that the Apple server does in fact not send the notification to the turn holder if that participant isn't also the requester.
Apple will fix this issue as soon as possible. Meanwhile, we should develop our game as if the notification is received. You can check my GitHub project that implements this correctly: https://github.com/Gatada/TurnBasedGameFlow
Second, and more importantly, including the turn holder will still not result in the turn holder being notified when the exchange is completed. Which is the entire problem. So including the turn holder changes nothing.
Finally, I managed to book a lab 1-on-1 session with Apple during WWDC, and after some investigation the Apple Tech established that the Apple server does in fact not send the notification to the turn holder if that participant isn't also the requester.
Apple will fix this issue as soon as possible. Meanwhile, we should develop our game as if the notification is received. You can check my GitHub project that implements this correctly: https://github.com/Gatada/TurnBasedGameFlow