oneseedfruit/PGSGP

Sign in onResume

kristijandraca opened this issue · 0 comments

If activity is in the background for a while, the app loses sign-in status, and cant open for example leaderboard.

According to Google docs, sign in should be called onResume

Since the state of the signed-in player can change when the activity is not in the foreground, we recommended calling silentSignIn() from the activity's onResume() method.

https://developers.google.com/games/services/android/signin#performing_silent_sign-in

btw thank you for this plugin!