Google Play Games Services Cannot Show Leaderboard

Hi,

I am trying to add the GPGS leaderboard feature into my game by following the tutorial.

I have attached the login function to a button and when I tap on the button, the Google Play prompt appears and it has my app information along with “Connecting to…”. After a few seconds, the loading disappears but I do not get the “Welcome xxx” that I would normally get from other game using GPGS after successfully logged in. I added some Native prompt to see if there’s error in logging in but it all returns to be successful. Perhaps I’m doing something wrong when setting up the app in Google Play Developer console but the init() part works?

Then on my next screen I have the leaderboard button but when I tap on it nothing seems to happen.

I have all the correct setup in building.setting and is using gameNetwork.show( “leaderboards” )  as instructed.The same problem exists for achievement as well.

I am currently using Corona Starter and I’m not sure if that prevent the gameNetwork from working. I have also looked at the log using adb and there’s no related finding for the leaderboard. Would someone please help me? I’m very close to launching my game but I’m stuck on this only feature.

Thank you in advance!

Having the same issue will post if I find out anything best of luck to you.

Having the same issue will post if I find out anything best of luck to you.

I’m having exactly the same problem! did anybody find a solution to this?

I’m also having the same problem: I can login to GPGS, but leaderboard and achievements do not show.  GameNetwork works perfectly on iOS, but not for Google.  I am using Pro, so this isn’t a starter or basic issue.  Using build 2302.   Anyone find a solution?

If you can login then it’s not the same problem. Anyways, fortunately to me I’ve found a solution. I unpublished my game on GPGS (deleting is not allowed), removed the OAuth 2.0 form the Google Console and added the game to GPGS again from scratch (the game, not the app on GP with screenshots etc, I hope you understand.)

Now everything works fine to me. So this time the problem was not on Corona, but on Google :wink:

but i ma getting same issue, would u explain briefly for this issue for LogIn SuccessFul and leaderboard opening.

It turns out my problems was the package name.  I didn’t check closely enough between the name that was generated automatically in the Corona Build dialog box and the package name I had used to register the app for leader boards and achievements.

I had to use adb catlog without the corona filter to determine that while it was logging in, it was never authenticated for the app.

Hope that helps someone else!

I’m having exactly the same problem! did anybody find a solution to this?

I’m also having the same problem: I can login to GPGS, but leaderboard and achievements do not show.  GameNetwork works perfectly on iOS, but not for Google.  I am using Pro, so this isn’t a starter or basic issue.  Using build 2302.   Anyone find a solution?

If you can login then it’s not the same problem. Anyways, fortunately to me I’ve found a solution. I unpublished my game on GPGS (deleting is not allowed), removed the OAuth 2.0 form the Google Console and added the game to GPGS again from scratch (the game, not the app on GP with screenshots etc, I hope you understand.)

Now everything works fine to me. So this time the problem was not on Corona, but on Google :wink:

but i ma getting same issue, would u explain briefly for this issue for LogIn SuccessFul and leaderboard opening.

It turns out my problems was the package name.  I didn’t check closely enough between the name that was generated automatically in the Corona Build dialog box and the package name I had used to register the app for leader boards and achievements.

I had to use adb catlog without the corona filter to determine that while it was logging in, it was never authenticated for the app.

Hope that helps someone else!

Be sure that:

  • Set up and publish your game Leaderboard on Google Developer Console

  • Build your app to *.apk file and upload it to Alpha or Beta phase on Google Developer Console. 

  • Link your app and your game services correctly

I followed vuminhthang.cm’s advice, and then had to turn on Alpha and Beta testers in the “Testing” section of Game Services before I could see leaderboards and achievements.

Be sure that:

  • Set up and publish your game Leaderboard on Google Developer Console

  • Build your app to *.apk file and upload it to Alpha or Beta phase on Google Developer Console. 

  • Link your app and your game services correctly

I followed vuminhthang.cm’s advice, and then had to turn on Alpha and Beta testers in the “Testing” section of Game Services before I could see leaderboards and achievements.

This problem has been here for more than 6 months, no light has been shined on it. I have not heard from the Corona Staff on this matter yet, but I have seen it brought up countless times.

Here’s a fix that I’ve discover that works:
 

If you can see yourself login and post, but the leaderboard does not show up in “Play Games”
-Go to app store
-Look for Play Games
-Uninstall all new updates for it
-Go back and see that the leaderboard is actually there

Hey guys, I was having the problem where It seemed like the service was loading but was not, and was not showing leaderboards when i clicked on my button. My problem was that I needed to change my keystore key from debug to my publishing key. hope that helps! :slight_smile:

This problem has been here for more than 6 months, no light has been shined on it. I have not heard from the Corona Staff on this matter yet, but I have seen it brought up countless times.

Here’s a fix that I’ve discover that works:
 

If you can see yourself login and post, but the leaderboard does not show up in “Play Games”
-Go to app store
-Look for Play Games
-Uninstall all new updates for it
-Go back and see that the leaderboard is actually there