Updated Google Play Games service to SDK v2.
- Logout function was removed because v2 doesn't support sign out functionality
- The
setGravityForPopups
function was removed because v2 doesn't have such functionality any more - The
getIdToken
function was removed because there is no need to work with regular Google account. The only account that is used is the Google Play Games account on the device. - The game.project setting
gpgs.client_id
should be the OAuth2 client id for web application. The client id is used for retrieving server auth token during login flow - Fixed type
fomatted_value
->formatted_value
in event's information - The game.project setting for Android minimum SDK version should be >= 21