I'm creating game like application supporting Game Center. And I have a problem with reporting score to leaderboard when the player is authenticated to gamecenter correctly but the network (wifi or cellular) is not available in the time when I want to report my score.
My app is for iOS 5.0 and greater and according to the documentation - Leaderboards - it should work like they say - I use only the function
- (void)reportScoreWithCompletionHandler:(void (^)(NSError *error))completionHandler and
and
If for some reason the score could not be reported because of a network error, Game Kit automatically resends the data when the network becomes available.
BUT when I turn off wifi, play my game and report score in this offline mode, my score is not reported when I go back online! :( The same problem I have with my achievements. Is there any trick or known problem? Or is this functionality available only for live appliacations and not for testing?
Thank you very much.