My app seems to get logged out from Game Center after a certain time?

gamesmoldgamesmold Member, PRO Posts: 279
edited November -1 in Tech Support
Hi there,

first of all - sorry in advance for a double post, but I fear this question is better located in this thread than where I originally placed it as a reply ('GC best practices' in 'News from the dev team').

Game Center works fine, but when I let my app run for a very long time (even having it sleeping in multitask and after a day or so resumed playing) then it often happens that the showLeaderboard behaviors don't work any more.

Then, when I let my login button fire another 'login to GC' behavior, they work again.
How do I solve this? It doesn't feel right to fire a login behavior every 5 secs, just to make sure I stay logged in.
Or is this just a sandbox issue?

Thanks a lot, Thomas

Comments

  • MarkOnTheIronMarkOnTheIron Member Posts: 1,447
    I get the same problem with my games and also with all the other GS games with GC and it happens in sandbox and also in normal mode. I think it was already reported to the GS team and I hope they will fix it soon.

    You said that it happens only wen you run the game for a long time but I also noticed that sometimes it happens after only a few minutes. It's really annoying :(

    ________________________________
    【ツ】iPhone Icon Pack 【ツ】 - 【ツ】Graphic Pack【ツ】
    Free GS demo: High score simple and advanced; Game Center; App Rating System
  • gamesmoldgamesmold Member, PRO Posts: 279
    Thanks for the answer!
    MarkOnTheIron said:You said that it happens only wen you run the game for a long time but I also noticed that sometimes it happens after only a few minutes. It's really annoying :(
    You're right, I tried it and after only 2 minutes, I now have the same problem.

    And: Now I can't even fix it by logging in again. The show leaderboard behaviors just don't work any more. Nothing happens, not even an error message appears. This is quite a problem.
  • gamesmoldgamesmold Member, PRO Posts: 279
    OK, I was hoping that it's only in Sandbox mode. But this is totally reproducable in real mode as well as in Sandbox mode.

    Once your App was in multitask for a minute or so, Game Center behaviors are dead. And most of the time, an app has been at least once in multitask.
Sign In or Register to comment.