In your docs, you write that calling endTurn will return the Match object in event.data. Well, it does not…
http://docs.coronalabs.com/api/library/gameNetwork/request.html#end-turn
The only data returned is
table
=================
provider -> gamecenter
type -> endTurn
name -> gameNetwork
As you see, the data object is not there. According to the docs, data should be there and contain the Match object.
Without the updated Match object, turn based playing is not working. Not sure when you introduced this bug, but it sure needs to be fixed immediately. I think a temporary workaround for us will be to reload the match with loadMatchData, but it takes extra loading time, extra requests and creates extra spaghetti code…
Please notice that this bug is also present in several other gameNetwork commands. So far I’ve found that the Match object is NOT returned in these calls:
endTurn
endMatch
quitMatch
This is tested in Xcode 6.1, I’m on Enterprise, running in iPhone4s xcode simulator. Deploy target ios 8. I am using the latest daily build and the latest gamenetwork plugin (2506)