I've been working on implementing Google Play Games Services (GPGS) for Ice Trap the last couple of days, using the new GPGS plugin for Corona SDK. Read all the docs top to bottom, configured everything accordingly, double-checked everything several times, but still got nothing more than an "Internal error" when trying to login from the Android app using one of my test accounts.
Finally, I found this thread on the Corona forums. I followed the advice from the thread and enabled Google Drive API from the developers console at https://console.developers.google.com. Ta-dah! That's all that was missing, and now logging in to GPGS works as it should.
Happy to have found the solution, but I can't believe that this wasn't mentioned anywhere in the docs or in the Google Play Developer Console. Or did I just miss it? I don't know, but it would have been really nice to somehow get a more descriptive error code/message than just "Internal error".
Anyway, problem solved for now, so I'll just jump straight into leaderboards and achievements instead, hoping to not run into any similar hard-to-debug problems.
Finally, I found this thread on the Corona forums. I followed the advice from the thread and enabled Google Drive API from the developers console at https://console.developers.google.com. Ta-dah! That's all that was missing, and now logging in to GPGS works as it should.
Happy to have found the solution, but I can't believe that this wasn't mentioned anywhere in the docs or in the Google Play Developer Console. Or did I just miss it? I don't know, but it would have been really nice to somehow get a more descriptive error code/message than just "Internal error".
Anyway, problem solved for now, so I'll just jump straight into leaderboards and achievements instead, hoping to not run into any similar hard-to-debug problems.
Comments
Post a Comment