I would like to integrate Google Play Games Services into my game and to follow a consistent workflow of developing, debugging and releasing my game.
I use CocosCreator 2.1 with Typescript and I have successfully installed SDKBox in the project. I also specified the app id and the OAuth2 client id, as the SDKBox tutorial explains.
Now, to be able to develop and test the login process, I am using the Android x86 emulator, because the “gpg” namespace is undefined if not running inside an emulator or phone.
My question is: is this really the only way? It is so costly and slows the development a lot. Futhermore, I wasn’t even able to debug in the Android emulator yet.
Thank you in advance for any help.
Edit: to help others with the same issue, the part of error 1/-3 was solved by forcing the SHA1 key in credentials page of Google Console.