Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Google Play Games Services Cannot Show Leaderboard
Started by schwab Feb 27 2014 11:45 AM

9 replies to this topic
leaderboard gpgs
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

schwab

[GLOBAL: userInfoPane.html]
schwab
  • Starter
  • PipPip
  • 20 posts
  • Member

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!



[TOPIC: post.html]
#2

matthewdmunk

[GLOBAL: userInfoPane.html]
matthewdmunk
  • Basic
  • Pip
  • 1 posts
  • Newbie

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



[TOPIC: post.html]
#3

ronald.vyh

[GLOBAL: userInfoPane.html]
ronald.vyh
  • Starter
  • Pip
  • 4 posts
  • Newbie

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



[TOPIC: post.html]
#4

Dr Brian Burton

[GLOBAL: userInfoPane.html]
Dr Brian Burton
  • Enterprise
  • PipPipPip
  • 48 posts
  • Advanced Member

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?



[TOPIC: post.html]
#5

ronald.vyh

[GLOBAL: userInfoPane.html]
ronald.vyh
  • Starter
  • Pip
  • 4 posts
  • Newbie

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 ;)



[TOPIC: post.html]
#6

sangam687

[GLOBAL: userInfoPane.html]
sangam687
  • Starter
  • PipPip
  • 14 posts
  • Member

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 ;)

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



[TOPIC: post.html]
#7

Dr Brian Burton

[GLOBAL: userInfoPane.html]
Dr Brian Burton
  • Enterprise
  • PipPipPip
  • 48 posts
  • Advanced Member

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!



[TOPIC: post.html]
#8

vuminhthang.cm

[GLOBAL: userInfoPane.html]
vuminhthang.cm
  • Starter
  • Pip
  • 1 posts
  • Newbie

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



[TOPIC: post.html]
#9

Jorge Sanchez

[GLOBAL: userInfoPane.html]
Jorge Sanchez
  • Basic
  • PipPip
  • 28 posts
  • Member

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.



[TOPIC: post.html]
#10

duo.imagination

[GLOBAL: userInfoPane.html]
duo.imagination
  • Starter
  • PipPipPip
  • 35 posts
  • Advanced Member

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




[topic_controls]
[/topic_controls]



Also tagged with one or more of these keywords: leaderboard, gpgs