question

Gereon Fassbender avatar image
Gereon Fassbender asked

GameCircle problem

Hi, I have a problem getting GameCircle working. I created a new api-key in the securityprofile exactly the same way I did for the non-Underground app and put the generated api-key in assets/api_key.txt. GameCircle is working correctly when I am testing the Underground app via ADB. But in the released app (in Amazon store) the GameCircle icons don't show, I assume this exception is the reason: Unable to read api key. GameCircle requires an api key to be included in 'assets/api_key.txt'. GameCircle will not initialize. java.lang.IllegalArgumentException: Invalid API Key at com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager. (SourceFile:126) Any ideas? In the manifest GameCircle configuration, I set host to the id of the Undergound app: I guess this is correct? Thanks, Gereon
amazon appstoreamazon underground
10 |5000

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

Nick Gardner avatar image
Nick Gardner answered
Hi, For Amazon Underground, you will need to create a new API key for the Underground version of your app. For more information on migrating your app with Amazon APIs to Underground, please see our guide here: https://developer.amazon.com/public/solutions/underground/docs/migrating-your-app-to-amazon-underground#API Migration (Required for Apps Using Certain Amazon APIs). -Nick
10 |5000

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

Gereon Fassbender avatar image
Gereon Fassbender answered
Hi, maybe I found the reason myself. The Underground version was not linked with the security profile. After linking, GameCircle still doesn't work in the released version. Maybe I just have to resubmit it? Thanks, Gereon
10 |5000

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

Nick Gardner avatar image
Nick Gardner answered
I'd double check that you have the correct package name in your new api key, as your underground submission should have a different package name than your live app. If that is not the issue I would suggest submitting an app update. -Nick
10 |5000

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

Gereon Fassbender avatar image
Gereon Fassbender answered
Hi Nick, yes I submitted an app update, then the linking changes took effect. GameCircle is now working :) Many thanks! Gereon
10 |5000

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

Sangwoo Hong avatar image
Sangwoo Hong answered
Hello. I am experiencing a similar issue with trying to get the Amazon Underground version of my game to pass initial certification. The Amazon Underground version of my game was not linked with a security profile so I linked it and resubmitted but it still failed to pass. How does one go about making sure the linking change took effect?
10 |5000

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

Sangwoo Hong avatar image
Sangwoo Hong answered
Hello. My GameCircle issue has been resolved. It seems linking the security profile is what did the trick. However, it looks like one either has to wait for about 24 hours after linking the security profile to submit or submit a live test in order to trigger the security profile link to take effect. I will post here again if I find out for sure.
10 |5000

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