I used the google play services plugins in my project, and it can login and use the leaderboard without any problem.
Today, I switched to the Gaming plugin, and the code for using it is quite straightforward
game = Gaming.new("googleplay")
game:addEventListener(Event.LOGIN_ERROR, function(e) print("LOGIN_ERROR") AlertDialog.new("failed", e.error, "OK"):show() end)
game:addEventListener(Event.LOGIN_COMPLETE, function(e) print("LOGIN_COMPLETE") AlertDialog.new("success", "login complete", "OK"):show() end)
It always login failed, since the google play services plugin works well in the same project with the same package name, I think the project configuration and the console settings in google play store is OK.
I spent all my day on that issue, but have no result, finally, I have to change back to the google play plugin and everything comes to work again.
are there any special settings need for this Gaming plugin?