Skip to content

Sign in onResume #2

@kristijandraca

Description

@kristijandraca

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions