Questions tagged [game-center]

The inner workings and use of Apple's GameCenter API in your apps.

1852 questions
12
votes
2 answers

ios7 can't get login in gamecenter gain after cancel 3 times

The problem is strange. My system version is IOS7. Everything goes fine on ios7 simulator. However, when I try authenticate on my iphone, the error in the callback block is always "GkErrorCanceled: the requested operation has been canceled or…
user2353228
  • 175
  • 1
  • 1
  • 9
12
votes
2 answers

Is the GameKit's communication reliable with GKMatchSendDataReliable?

I'm working with GameKit.framework and I'm trying to create a reliable communication between two iPhones. I'm sending packages with the GKMatchSendDataReliable mode. The documentation says: GKMatchSendDataReliable The data is sent continuously…
ThomasCle
  • 6,792
  • 7
  • 41
  • 81
12
votes
1 answer

App name updated but not on GameCenter

I'm having a quite simple problem, but i hadn't found any solution. I updated my apps name in the AppStore a few weeks ago and just a few days ago i saw that in the GameCenter it didn't change. Is it something i have to change or should i get in…
Felipe
  • 498
  • 10
  • 29
11
votes
1 answer

Inviting a Game Center friend to a match programmatically

Does GameKit allow you to invite a specific Game Center friend to a match, programmatically, i.e. without presenting the GC ViewController? The following handleInviteFromGameCenter documentation seems to imply that you can populate…
leontx
  • 1,165
  • 1
  • 14
  • 24
11
votes
3 answers

How to display Game Center leaderboard with SwiftUI

I created a tester app to test adding a GameCenter leaderboard to a simple SwiftUI game I am creating. I have been unable to figure out how to display the Game Center leaderboard with all the scores. I have created a class containing all the Game…
Thomas Braun
  • 1,109
  • 2
  • 13
  • 27
11
votes
1 answer

GameCenter Leaderboard will not update after release

GameCenter has been working fine before release when updating the high scores. Now, it has been over 24 hours and the highscores will not update at all. Instead, it only shows my score in "Today" and does not share it with anyone nor can I see…
ngngngn
  • 579
  • 4
  • 18
11
votes
6 answers

How can I ensure my iPhone app uses the Game Center sandbox?

I'm developing an iPhone game with Game Center integration. The game is being built as Debug (not release/distribution). On the simulator, Game Center always uses the sandbox properly. On the iPhone device itself, it will go for a few days using the…
Jeremy Fuller
  • 3,391
  • 1
  • 32
  • 27
11
votes
2 answers

iOS Game Center - authentication error on one device

On one of my devices (an iPad mini running iOS7), when I attempt to authenticate in Game Center I get the dreaded error: Authentication Error: Error Domain=GKErrorDomain Code=2 "The requested operation has been cancelled or disabled by the user."…
soleil
  • 12,133
  • 33
  • 112
  • 183
11
votes
1 answer

Game Center Achievement completion banner not showing up on iOS7

After completing Game Center achievement, achievement complete banner is not showing up on iOS7. GKAchievement.showsCompletionBanner is already set to YES. It works perfectly fine in iOS6 and iOS5. Anyone have any ideas to make this work? Thx. This…
Sohaib
  • 10,941
  • 9
  • 32
  • 34
11
votes
2 answers

Game Center GKMatch GKSendDataReliable packet lost

I have been using GKMatch for quite a while successfully in an app. I have been chasing down and issue with the game occasionally stopping and have tracked it down to packets being sent but not received. This happens only occasionally but I can't…
11
votes
1 answer

Game Center GKTurnBasedMatch problems with matchData property

I'm creating a Game Center game with GKTurnBasedMatch matches. I'm having a problem where the readonly matchData property on a GKTurnBasedMatch does not seem to be properly stored on Game Center servers. I'm using this StackOverflow answer to…
Tim Arnold
  • 8,359
  • 8
  • 44
  • 67
10
votes
1 answer

Does an Android Game Center exist?

I am working on one Android application which needs the gaming center like an apple game center . Does Android provide any game center like apple game center? http://en.wikipedia.org/wiki/Game_Center And if so: is it an opensource or paid…
Mahaveer Muttha
  • 1,727
  • 4
  • 21
  • 33
10
votes
4 answers

iOS - detecting if Game Center is disabled

I'm developing a unity iphone game. short version: game center can be disabled when the user declines to authenticate 3 times. Can this disabled state be detected? Long version: In case some of you hadn't had the horror of finding this out yet, if…
hypnoslave
  • 123
  • 1
  • 5
10
votes
3 answers

Integrate Gamecenter in cocos2d game

Is there any one who knows how to integrate game center in Cocos2d. Please tell me steps so i can integrate that in my Game.
Vivek2012
  • 772
  • 1
  • 13
  • 25
10
votes
1 answer

GKLocalPlayer fetchSavedGamesWithCompletionHandler returns 0 games on installation

I can save my game and also fetch it but if I uninstall the game and then install it again, the call to fetchSavedGamesWithCompletionHandler returns 0 games (even if I call it several times). And if I call it again after some few seconds, the…
Zansin
  • 163
  • 1
  • 8