question

ahkar avatar image
ahkar asked

Service not Ready

I have the initialize API in my on create and I am linking to the leader board api. I have put the action lbClient.showLeaderboardsOverlay(); into a button onClick. When I click the button the Log show an error LB_LeaderboardsClientImpl Service not ready Can any one see what I did wrong our how I resolve this error? Below is my intilize code. AmazonGames agsClient = AmazonGamesClient.initialize(getApplication(), new AmazonGamesCallback() { @Override public void onServiceReady() { } @Override public void onServiceNotReady(AmazonGamesStatus reason) { switch (reason) { /** * The service could not bind either because it does not * exist, or permissions have not been granted. * This will also occur when your game is executed on a non-fire device * that does not have Amazon GameCircle installed */ case CANNOT_BIND: /** * The service could not authorize the client. This * should only occur if the network is not available the * first time the game attempts to connect. */ case CANNOT_AUTHORIZE: /** * The game in not authorized to use the service. Check * your package name and signature registered in the * Developer's Portal */ case NOT_AUTHORIZED: /** * The device is not registered with an account */ case NOT_AUTHENTICATED: /** * Disable Amazon GameCircle features in Game UI */ break; } } }, myGameFeatures); final LeaderboardsClient lbClient = agsClient.getLeaderboardsClient();
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Samuel@Amazon avatar image
Samuel@Amazon answered
Hi ahkar, Just want to make sure that you have whitelisted your app signatures for Game Circle?.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ahkar avatar image
ahkar answered
It is already a published app. I am working on the next version with the plan of incorporating GameCircle. Do I have to white list a live app?
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Samuel@Amazon avatar image
Samuel@Amazon answered
Hi ahkar, Yeah, even if your app is Live, for Game Circle you have to white list your app signatures. Please go through the below link for more information. https://developer.amazon.com/sdk/gamecircle/documentation/gamecircle-setup.html Thank you.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

StephenC@Amazon avatar image
StephenC@Amazon answered
When the app is published, a whitelist entry is automatically created for the package/signature of the released app. If you are doing testing (with a debug key, for example), you will need to generate a signature for that certificate and create a whitelist entry for it.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

App Lover avatar image
App Lover answered
Hi am getting the same error. I have just started building an app with game circle in it. I am running the app from eclipse. I have published the leader board. The connection with game circle is happening. But when I submit a score to leaderboard it says service not ready. Please help. Thanks
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.