I have created a game that I want to publish it in the Google play. But I have issue with integrating google play leaderboard into my game.
I went to developer console created my app.
Then went to the Game Services, added a new game, added the details. Then click on the Linked apps and created one for the Android.
Then added the application ID and client ID into the Google play plugin in construct2. Since I am not getting any Client secret when I use android and that is only for web I am not setting that.
Then I added a block of function to on layout load sign in to google play.
However my game crash as soon as it tries to sign in.
I have also tried using http:/localhost and that giving me error 401 as soon as the game starts on the device.
I am totally confused what to do, does anyone know what I should do to make this working? I have also follow this tutorial https://www.scirra.com/manual/175/google-play but this one is referring to use a web app within the game services then I don't know what the url should be.
Does anyone know any good tutorial on that?
Many thanks in advance.