0

私はGoogleからのスコアは私のクライアントID要求されたアプリケーションは、

<meta name="google-signin-client_id" content="XXXXXX-YYYYYYYYYYY.apps.googleusercontent.com" />

含めて、私はドキュメントからすべてのメタタグを満たし

リーダーボードを果たし得る/投稿しようとしている見つかりませんでした

私もセットアップにGoogleのログインシステムを持っており、すべてが大丈夫です、私はリーダーボードのAPIを呼び出すしようとすると、しかし、私はメッセージのエラーが発生します。で述べたようにThe requested application with ID xxxxxx was not found

私はAPIを呼び出していますドキュメント

gapi.client.request({ 
      path: '/games/v1/leaderboards/LEADERBOARD-ID', 
      params: { maxResults: 3 }, 
      callback: function(response) { 
       console.log(response); 
      } 
     }); 

答えて

1

リクエストが実行されないという問題があるかどうかはわかりません。

このAPI requestsメソッドを使用してください。

gapi.client.Request

An object encapsulating an HTTP request. This object is not instantiated directly, rather it is returned by gapi.client.request. There are two ways to execute a request. We recommend that you treat the object as a promise and use the then method, but you can also use the execute method and pass in a callback.

これは参考になる場合はGithub postを参照してください。

This message: W/AchievementAgent(3558): {"code":404,"errors":[{"message":"The requested application with ID 571707973781 was not found.","domain":"global","reason":"notFound "}]} is a little cryptic but points to a mismatch with the auth configuration on the console and the application.

You'll want to double check the keystore SHA1 fingerprint of the keystore you signed the app with and the one configured in the dev console.

It could also be the bundle ID, but that is hard to mess up since it is part of the resource data used when running Setup for the plugin.

Also, it could be that the player is not a tester for this game.

+0

おかげで、私は私がリーダーボードに到達知っているだけで、私は私のゲームコンソールに追加テスターアカウントからできるベータ版を公開しようとした、問題はゲームがまだ公開されていなかったということだと思います。 – stodi

関連する問題