Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9178017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:27:17+00:00 2026-06-17T17:27:17+00:00

I’m creating a game like application which supports Game Center. And I have a

  • 0

I’m creating a game like application which supports Game Center. And I have a problem with reporting score to leaderboard when the player is authenticated to GC correctly but the network (wifi and 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, it should resubmit the scores when network becomes available. Let me explain what i tried :

  • I opened my app and authenticate my GC account, turned the wifi off, reported score then opened wifi and waited 30 minutes. After that I checked leaderboard but there isnt any updated score on my leaderboard. (Maybe I am impatient and that is because of the undefined time / interval which apple decides to resubmit scores ?)

  • I opened my app and authentacate my GC account, terminated the app, turned the wifi off, opened my app again, it automatically authenticate’s my GC account, I reported score then opened wifi and still no updated score on my leaderboards. (Maybe I am impatient and that is because of the undefined time / interval which apple decides to resubmit scores ?)

If this resubmit takes more then 30 minutes, I think it is so useless? Is there a way to overcome this? I mean if I save and send the scores later this would be bad too because GC will resubmit them later too? (It wont be so bad but still it would be unnecessary)

Is there any documentation about this resubmitting time ? I couldn’t find any… I mean when will it resubmit? Do i need to keep my app and my wifi open until it resubmits?

Thank you for your answers …

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T17:27:18+00:00Added an answer on June 17, 2026 at 5:27 pm

    It doesn’t matter whether wifi is on or off if you also have a cellular connection. The GC code will use whichever network access is available. If neither is available when you call ‘reportScoreWithCompletionHandler:^(NSError *error)’ it will report the score the next time the network becomes available.

    You didn’t say whether your code has ever worked. A common error is that the leaderboard identifier in your code doesn’t exactly match the leaderboard ID in iTunesConnect. If they don’t match the score will never be successfully reported but it won’t tell you what the problem is.

    Also note that the score should be a 64-bit value. Maybe you are reporting a 32-bit value.

    Also be sure you aren’t submitting the score before the local player is authenticated.

    Are you checking the error code? If the ‘error’ you get back from ‘reportScoreWithCompletionHandler:^(NSError *error)’ is not NULL then something is wrong with your code. Its value may not be helpful (when it isn’t NULL) but at least you know that something didn’t work.

    In my experience, in sandbox mode, the leaderboards usually update fairly quickly (less than a minute) but not instantly. But some days something is wrong with the server and the update takes hours or doesn’t work at all. I’ve read that the production GC server is more reliable and updates faster than the sandbox server.

    For what it may be worth here’s the code I’ve been using to report scores. It seems to work:

    -(void) submitScore:(int64_t)score category:(NSString *)leaderboardIdentifier {
        if (!!! [GKLocalPlayer localPlayer].authenticated ) {
            CCLOG(@"GKLocalPlayer is not authenticated");
            return;
        }
    
        GKScore *gkScore = [[[GKScore alloc] initWithCategory:leaderboardIdentifier] autorelease];
        gkScore.value = score;
        [gkScore reportScoreWithCompletionHandler:^(NSError *error) {
            [self setLastError:error];
        }];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I would like to run a str_replace or preg_replace which looks for certain words
I have an autohotkey script which looks up a word in a bilingual dictionary
I have an array which has BIG numbers and small numbers in it. I
I have a text area in my form which accepts all possible characters from
I have been unable to fix a problem with Java Unicode and encoding. The
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.