Type Boolean
Return value none
Revision Release 2021.3646
Keywords Google Play Games Services, game network, gpgs
See also gpgs2.*


Attempts to log in the current player.


params (required)

Table. Contains parameters — see the next section for details.

Parameter Reference

userInitiated (optional)

Boolean. If true, will show sign in dialog if user is not logged in. Use it when user specifically wants to log in (presses log in button for instance) instead of being logged in automatically.

listener (optional)

Listener. Receives login event.