Questions tagged [google-play-games]

The Google Play Games services SDK provides cross-platform game services that lets you easily integrate popular gaming features such as achievements, leaderboards, and Cloud Save in your web-based games.

The Google Play Games services SDK provides cross-platform game services that lets you easily integrate popular gaming features such as achievements, leaderboards, and Cloud Save in your web-based games.

The project home https://developers.google.com/games/services/

1692 questions
5
votes
1 answer

how to implement Saved Games on Google Play Games Services v2 SDK?

Google has released a new play Games service v2, but their implementation of saved games is confusing. Developer Guides for implementation of Saved Games for V2 are the same as…
5
votes
1 answer

Mobile game, cross platform leaderboard / challenges

I am developing a small word game as a side project and chose Flutter to release the game for both Android and iOS. I am able to use flutter packages (e.g. https://pub.dev/packages/games_services) to integrate with Google Play Games and Apple Game…
Nimo
  • 61
  • 6
5
votes
3 answers

Google Play Games services SignIn error : ApiException :4

I'm working on an app in Android studio that is using Google Play Games services for achievements and leaderboards, but I'm getting the error while trying to sign in. I followed the documentation, all my keys and OAuth codes are matching and still I…
BigBoiVladica
  • 181
  • 1
  • 12
5
votes
3 answers

Social.localUser.Authenticate callback never called

I am trying to add Google Play Service into my Android app. When I call Social.localUser.Authenticate in Unity Editor, it return false to the callback function. But when my mobile runs the debugging build, the callback function is not been called.…
5
votes
0 answers

Google Play Games Realtime multiplayer: Getting participant Id and storing it to a string

I am trying google realtime multiplayer for the very 1st time in my unity game. QuickMatch is working just fine, I mean I am able to get the connected participant's ID and store it to a string using: string MyId =…
Sumit Pal
  • 235
  • 1
  • 3
  • 13
5
votes
1 answer

Using Google Play Games Services for Flutter?

I would like to use https://developers.google.com/games/services/android/turnbasedMultiplayer for a Flutter app I am writing. How would I do that with Dart/Flutter?
Tom A.
  • 59
  • 2
5
votes
4 answers

Google play service game Silent Login error 'com.google.android.gms.common.api.ApiException: 4: '

am using google play services silent login, but it always CompleteListener show com.google.android.gms.common.api.ApiException: 4: 'SIGN_IN_REQUIRED' but am a test user in my application. My code is below, @Override protected void…
Mathan Chinna
  • 587
  • 6
  • 22
5
votes
0 answers

Realtime Multiplayer Google Play Service combined with LibGDX

I am new to game development, and i'm struggling a bit with combining the google play service realtime multiplayer functionality in my LibGDX game. I do not find a lot of tutorials regarding this online. I have downloaded the BaseGameUtils library,…
5
votes
0 answers

Can't sign in google play services with GoogleSignInOptions DEFAULT_GAMES_SIGN_IN

When I set GoogleSignInOptions to DEFAULT_SIGN_IN everything is ok sign in success but when I try sign in with GoogleSignInOptions.DEFAULT_GAMES_SIGN_IN returns Status{statusCode=unknown status code: 12501, resolution=null}. Here is my code as…
5
votes
2 answers

Cloud Saving from a web page in Google Play Services

Is it possible to create and load cloud saves in google play services from a webpage (via REST I imagine)? I can only seem to find documentation for saved games for C++/Android code.
Chris Jefferson
  • 7,225
  • 11
  • 43
  • 66
5
votes
0 answers

What to use instead of Games.RealTimeMultiplayer.getSelectOpponentsIntent

As you can see in here Games.RealTimeMultiplayer.getSelectOpponentsIntent is getting deprecated and my question is what to use instead to search and pick players. I'm building small 2D multiplayer game and I'm stuck on it. I would like to use newest…
Jakub Jendryka
  • 599
  • 1
  • 4
  • 6
5
votes
2 answers

Update (increment/decrement) leaderboard score in Google Play Games

I used the following code to submit the user's score to Google Play Games: if(getApiClient().isConnected()){ Games.Leaderboards.submitScore(getApiClient(), getString(R.string.number_guesses_leaderboard),newScore); } but this doesn't…
5
votes
2 answers

GameAgent: Volley error when reporting played

I am having a problem with play-game services. For a simple connection I get: 07-14 00:28:08.394 28271 28271 I gobandroid: connected 07-14 00:28:08.783 19165 19206 E Volley : [1562] BasicNetwork.performRequest: Unexpected response code 401 for…
ligi
  • 39,001
  • 44
  • 144
  • 244
5
votes
1 answer

Google Play Game Services - Leaderboard closes authomatically

I've got 4 LeaderBoards in my application. I add score to one of them with: Games.Leaderboards.submitScore(mGoogleApiClient, "xxxx", 10); Now I would like to see results: …
RCH
  • 1,247
  • 1
  • 11
  • 16
5
votes
2 answers

Google Play Games, Firebase and the new Google Sign-in

My game is using Google Play Games and Firebase (for Rankings System, because unfortunately one cannot reduce the score in Google Leaderboards). In the past I used the deprecated way to sign-in to Firebase via Plus.AccountApi.getAccountName and…
user38725
  • 876
  • 1
  • 10
  • 26