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
9
votes
1 answer

onConnectionSuspended. How to test? When will this code be run?

public class MainActivity extends Activity implements GoogleApiClient.ConnectionCallbacks { @Override public void onConnectionSuspended(int i) { Log.d(TAG, "onConnectionSuspended() called. Trying to reconnect."); …
Eae
  • 4,191
  • 15
  • 55
  • 92
9
votes
6 answers

Failed to sign in. Please check your network connection and try again

I am trying to make simple game with Google Play Games Services, but I failed to sign in to Google Play Games. I get this error: Failed to sign in. Please check your network connection and try again. I have MainActivity, and three fragmenets…
Zookey
  • 2,637
  • 13
  • 46
  • 80
9
votes
5 answers

Google Play Games achievement unlocked popup not showing

I'm unlocking achievement using this simple method from developers docs: Games.Achievements.unlock(getApiClient(), "my_achievement_id"); Achievement unlocks, but no popup shows up. There is also no popup when logged in to Google Play Games - which…
Jacek Kwiecień
  • 12,397
  • 20
  • 85
  • 157
9
votes
3 answers

Android Google plus Sign out button looks different from sign in button in Google tutorial docs

I am following the steps mentioned in Google developers site to implement sign in and sign out in my app. The code to add the sign-in and sign-out button as mentioned there is:
A Nice Guy
  • 2,676
  • 4
  • 30
  • 54
9
votes
1 answer

Fail to login Google Play Game Services

I set up my game on Developer Console with package name and right signing certificate and created a leaderboard for it (but no achievements was created). Then, I downloaded the sample "Type A Number Challenge" and "BaseGameUtils" from…
Ponyta Ho
  • 91
  • 1
  • 2
9
votes
3 answers

Google Play Game Services Multi-Player Device Orientation change kicks user out of room

I'm working on an app which has just one activity (which extends BaseGameActivity), and switch between multiple fragments (much like Google's sample code states). I'm testing a multi-player game right now, on 2 separate devices. Both users can…
9
votes
1 answer

Submitting score to leaderboards with Google Play Game Services

Is GamesClient.submitScore require online connection? How exactly is it working when user is offline? Scores to submit are saved in some sort of queue to execute when there is something to do or I must first save scores locally and then update it on…
Marcin K.
  • 91
  • 1
  • 2
8
votes
2 answers

Android :What is the difference between app signing certificate and upload certificate?

What is the difference between app signing certificate and upload certificate? I am having trouble with integrating Google Play Games with my app (I posted about this as another question) and I noticed that the one that is used for client Id that is…
Ooto
  • 1,117
  • 16
  • 39
8
votes
4 answers

Google play game service error code 400

There is an app that uses play games service, but by some reason it stops working. it looks some times i can login successfully but usually - no. if i checked API traffic there is about 10% got response code = 200, and others - 404. methods that…
Siarhei
  • 2,358
  • 3
  • 27
  • 63
8
votes
3 answers

Google Play Top Charts app no longer ranked at all after changing title?

A few days ago, I got an alert in my play console that they added more characters to the app title limit. I have an extremely highly rated and high performing multiplayer game that was ranked in the top charts #31 out of many thousands in a very…
8
votes
1 answer

Google Play Services Error - Bug report Incomprehensible

I have released an alpha version of my app with Google Play services. However, I have encountered this error when I tested the app on a phone with Google Play services. I hadn't got this error during compilation or running the app on a phone with…
Fish
  • 1,689
  • 1
  • 18
  • 28
8
votes
1 answer
8
votes
2 answers

GameHelper crashes on onConnectionFailed()

I've got the following crash in GameHelper.java: [main] java.lang.NullPointerException at com.google.android.gms.common.ConnectionResult.startResolutionForResult(Unknown Source) at …
ivy_the
  • 280
  • 5
  • 14
8
votes
2 answers

Google Play Games Feature Badges not visible at google play

i integrated Google play services successfully to my android application and added achievements and leader boards, but it's been few days since published but i cant see the badges for it on google play. Is there anything i have to add to…
Marek Halmo
  • 2,181
  • 2
  • 15
  • 18
8
votes
2 answers

Fake scores in Google Play Game Services

Some of the scoreboards have been receiving fake score submissions. Here is an example: The same thing happened to a game I've made. Is there a way to protect one self from fake submissions and is there a way of moderating the scoreboards?
Smotko
  • 293
  • 2
  • 9