GamesSignInClient under API 34 will not fire isAuthenticated events in GameActivity

j-dev05
Thu, 21 Nov 2024 20:49:54 +0000
Programming & Scripting

This issue is only with 5.4 under API 34 for android. It works just fine in 5.3 under API 33. The issue is none of the events bound to isAuthenticated, such as addOnCompleteListener, will fire anymore with the GamesSignInClient using OnlineSubsystemGooglePlay plugin.

We are wanting to use requestServerSideAccess after authentication to use the server auth code on our custom backend like before.

We have tried to add the proper PlayGamesSdk and GamesSignInClient code to both gameActivityOnCreateAdditions and gameActivityOnCreateBeginningAdditions. PlayGamesSdk.initialize(this) will allow us to login just fine (as we can see the profile banner pop up) but the addOnCompleteListener does not fire as it did under API 33 / 5.3.

Confirmed the code was copied to GameActivity, and also confirmed via logging on android devices the code is being hit. But it does not proceed to call the addOnCompleteListener.

Any ideas? Thanks!

3 posts - 2 participants