question

alexander001 avatar image
alexander001 asked

Beta build api key change when uploading to portal

Hello support, We develop a game that uses Game Circle. Publishing team uploads a beta build to Amazon portal and let us test Game Circle functionality of that build. Originally the apk contains an api key generated on the portal for debug keystore. As I understand the apk should be resigned and api key should be changed automatically with api key matches the new signing. There was clear confirmation in this thread: https://forums.developer.amazon.com/forums/thread.jspa?threadID=2072&tstart=30 Sujoy@Amazon: "During the ingestion process, the api key is replaced." The problem is that when we download the build we see it is resigned, but still contains original api key we put into it. Please let me know if there are any settings on portal or steps during upload process that may prevent api key change. Maybe there is something wrong with the apk itself. Please help us make it working as mentioned into documentation and the thread. - Alexander
10 |5000

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

1 Answer

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Alex, You must associate your game with a security profile in the Amazon Mobile App Distribution Portal before submitting the game to the Amazon Appstore. If you do not associate a security profile with your game before submitting it, your game will fail on launch. The reason is that when Amazon signs your app (which is the default experience), it generates a new API key that is linked to the game's security profile, rather than to the game itself. Can you please check that you have gone through each steps described in this link : https://developer.amazon.com/public/apis/engage/gamecircle/docs/publishing
10 |5000

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