I got it to log-in but the leaderboard doesn’t show up !
would you mind taking a look on the main.lua
I got it to log-in but the leaderboard doesn’t show up !
would you mind taking a look on the main.lua
When you run your app, do you actually see a Google Play login screen pop up? Does it ask you for the account to login to? Do you see a “Welcome back” popup at the top of the screen?
Your code basically works, but you may have setup issues on Google play. Did you take that space out of your AppID in your build.settings?
Rob
yes, there’s a pop up login and asking for login, but there’s NO welcome back .
yes I fixed the space in the build.setting
could it be a problem if the package name was different from the in google play console ?
The package name must match what you setup in google play
I matched but still leader board doesn’t show, should I set the targeted store to google play ? should I upload the app first ?
Did you get the “Welcome back” message at the top of the screen?
Getting GPGS setup is pretty hard. You need to read the tutorial carefully about all the setup steps. Unfortunately, I can’t see your google play console and your setup, but your code works once you get the setup working.
I don’t get a welcome back, I only get a log-in every time I open the application.
could Signing certificate fingerprint (SHA1) be a reason ? I entered random numbers
Yes, it’s very likely the reason. This is a very critical step that you have to get right. And you can’t change it. You have to create a new entry on Google Play.
I removed the app from the console, and I’m signing it again, but how do I get the Signing certificate fingerprint (SHA1) ?
how I’m supposed to get it ?
It’s all in the tutorial. http://coronalabs.com/blog/2013/06/25/tutorial-introducing-google-play-game-services/
Link your apps to the service following the six basic setup steps outlined below. Google provides a walkthrough on setting up your game here. IMPORTANT: make sure that you follow “c. Specify client ID settings“ — and particularly steps 2-5 — before you click on the “Create client” button.
finally leader showed up after uploading the application to the play store, thanks a lot mr.Rob
Good.