Skip to content Skip to sidebar Skip to footer

Google Games Apis Requires Games_lite Function

I work with Google Play Games Services. I took the code from the official example. Try with API 27 and with API 17. All works only under one account (owner Google Developer Console

Solution 1:

True path is requestScopes(Games.SCOPE_GAMES_LITE):

GoogleSignInOptionsgso=newGoogleSignInOptions
    .Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
    .requestScopes(Games.SCOPE_GAMES_LITE)
    .requestEmail()
    .build();

Solution 2:

Following this Google Game Doc should be enough: https://developers.google.com/games/services/android/signin

You should use:

GoogleSignInOptionsgso=newGoogleSignInOptions
   .Builder(GoogleSignInOptions.DEFAULT_GAMES_SIGN_IN)
   .requestEmail()
   .build();

Solution 3:

I had the same issue.

In my case, it happened when I added a new developer in my google console. When some changes are made in the console, even though google gives us a green flag instantly, it is taking some time to get activated. My problem got solved without me doing anything but to wait a couple of hrs.

Note that as per Developer's Blog,

GoogleSignInOptionsgso=newGoogleSignInOptions.Builder(
               GoogleSignInOptions.DEFAULT_GAMES_SIGN_IN).build();

is sufficient for Games Lite scope.

Note: This is as per 14th November 2018

Post a Comment for "Google Games Apis Requires Games_lite Function"