google-play-games

Google Play Game Services - unable to sign in to Game Center

我的梦境 提交于 2019-12-10 13:18:23
问题 Things I've done so far: added and linked my app in the Dev Console (game services) included the App_id into my app/manifest added BaseGameActivity and GameHelper to my project (from GitHub) added the google-play-services library to my project extended BaseGameActivity What is ee in log: GameHelper: **** APP NOT CORRECTLY CONFIGURED TO USE GOOGLE PLAY GAME SERVICES GameHelper: **** This is usually caused by one of these reasons: GameHelper: **** (1) Your package name and certificate

`Leaderboard` tab not showing in Google Play Games while `Achievements` tab is there

风格不统一 提交于 2019-12-10 12:55:08
问题 I have enabled and added a leaderboard and achievements to my game. The leaderboard tab is not being displayed in Google Play Games, but the achievement tab is. I've read that the app needs to gain enough attention? What does that mean exactly? And how am I supposed to test this feature? This is an example from the web It shows the achievements tab, but as you can see, to the right, is a Leaderboards tab. 回答1: For your question it seems that you are trying to Find LeaderBoard in achievement

Message in Leaderboard: “Hmm, something went wrong in Play Games”

℡╲_俬逩灬. 提交于 2019-12-10 11:59:11
问题 I added Google Play Games Services support to my board game app and implemented Achievements and a Leaderboard through the corresponding clients in a similar way as the GPGS sample app "Type A Number" did. When debugging with adb and my tester account, these features worked fine. When I released the app into production, the Leaderboard started showing the message "Hmm, something went wrong in Play Games". Additionally, achievements can be unlocked and are being shown properly. But after

google play games service same e-mail account returns difference id

社会主义新天地 提交于 2019-12-10 11:54:08
问题 i'm using google-play-games-service plug-in for unity 0.9.26. namespace GooglePlayGames { public class PluginVersion { // older versions, used when upgrading to other versions public const string VersionKeyCPP = "00911"; public const string VersionKeyU5 = "00915"; public const int VersionInt = 0x0926; public const string VersionString = "0.9.27"; public const string VersionKey = "00927"; // used to check for the correct min version or play services. public const int MinGmsCoreVersionCode =

How to get the Profile image of Participant in RealTimeMultiplayer using Google Play Game Services

此生再无相见时 提交于 2019-12-09 23:11:15
问题 I am building a game using google play game services on RealTimeMultiplayer concept, my questions is how to get access the all participants profile image to display. i am new to the google play game services, not found a solutions or any guidance on API. please guide me, can we access and how to access? 回答1: Using the ImageManager class to load the ImagerUri is how I tackle it. Below, I loop through each Participant in the currentRoom, and request their IconImageUri to be loaded by an

App not correctly configured to use Google Play services

依然范特西╮ 提交于 2019-12-09 20:49:43
问题 I've been stuck on this for hours and nothing seems to be working. I have a simple game which I'm trying to integrate with Google Play services. I'm interested in adding a leaderboard and a few achievements. This is what I've done: MainActivity extends BaseGameActivity, and I've imported the BaseGameUtils project and the google-play-services_lib projects. I've added them both as Library projects of the game. I've created two client IDs in Google Developers console for both my product and my

How can I get my own Participant ID in a TurnBasedMatch?

折月煮酒 提交于 2019-12-09 13:46:19
问题 I know I can obtain all Participants with TurnBasedMatch.getParticipants(), and I know I can get the player's Participant id by TurnBasedMatch.getPendingParticipantId() when it is the player's turn, but how can I get the Participant object or id if it isn't the player's turn? I could of course save it locally when it is my turn and read it later, but is there a better way? 回答1: public String myParticipantID(){ return match.getParticipantId(Games.Players.getCurrentPlayer(gac).getPlayerId()); }

Google Play Game Service - Unlocked Achievement Popup not shown

自闭症网瘾萝莉.ら 提交于 2019-12-09 13:11:32
问题 When I unlock a achievement the "Achievement unlocked" popup is not popping up but the achievement is unlocked as I can see in the achievement list. I've already tried this solution but it is not working. I initialize the GoogleApiClient like this in my MainActivity: gac = new GoogleApiClient.Builder(this) .addConnectionCallbacks(this) .addOnConnectionFailedListener(this) .addApi(Plus.API).addScope(Plus.SCOPE_PLUS_LOGIN) .addApi(Games.API).addScope(Games.SCOPE_GAMES) .build(); app

Android API IsConnected returning TRUE after Signing Out

喜你入骨 提交于 2019-12-09 11:02:40
问题 I am developing a game for Android using Google Play Game Services, using Xamarin. I am doing my testing using a Genymotion Android Emulator. I have run into an issue that appears to be a bug in either Google Play or Xamarin's implementation. If I sign out of a Google account , calls to the IGoogleApiClient.IsConnected() continue to return true (even though I have clearly just signed out). If I then attempt to use that API object, I will get exceptions like: java.lang.SecurityException: Not

How to get rank from Google Play game service's leaderboard?

早过忘川 提交于 2019-12-08 22:35:10
问题 I'm working on a big application and I have to take the player's rank from the Google Play services' leaderboard. The leaderboard works well. I've already found the right method but I don't know how I'm supposed to use it: private void loadRankOfLeaderBoard() { Games.Leaderboards.loadCurrentPlayerLeaderboardScore(mGoogleApiClient, getResources().getString(R.string.leaderboard_leaderboard), LeaderboardVariant.TIME_SPAN_ALL_TIME, LeaderboardVariant.COLLECTION_PUBLIC).setResultCallback(new