Google Play Services Implementation

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By MicasiO

Hey, I’m trying to implement Google Play Services into my game to be able to use the leaderboards. I’ve been told that the best and latest module is Though I’ve never used a module before and I don’t know how to set everything up. file doesn’t really help…

Thanks in advance.

:bust_in_silhouette: Reply From: cgeadas

I don’t know what modules/plugins are the best neither do I have any particular preference other than if it works well and if the developer replies to the issues and is helpful. So don’t take this as an endorsement.

What you’re trying to use is a module, and that requires you to compile Godot from source. Godot usually compiles well but if I can avoid custom builds, I do. I’ve used this one ( GitHub - cgisca/PGSGP: Play Games Services plugin for Godot Game Engine - Android ) in 2 of my games and had no major problems - well, I did, but they were related to Google configurations and permissions.

One important thing to note is that Godot release 3.2.2 implements a different plugin architecture and it’s not compatible with the 3.2.1 modules. My implementations were all 3.2.1 so I don’t know if the developer supports 3.2.2.

Take a look.

Did you have error “Sign in failed 12501”? I have re-read many links on Google, but I do not understand at all what can be done. Thanks.

nastya.sim | 2020-09-01 11:09

Have you solved the problem? I have same error 12501 even when I turn off internet in my phone. But I checked permissions.

novinar | 2020-10-17 19:54

I solved the issues for my case. I added required tags to wrong place.


<meta-data android:name=""
    android:value="@string/app_id" />

Wrong placement was behind

but to place it right after


works fine

novinar | 2020-10-17 21:39