question

Gereon Fassbender avatar image
Gereon Fassbender asked

Security Profiles

Hi, the GameCircle documentation describes how to add the debug-store signature to a security profile and this worked for me. But I can't find enough information about how to add released apps. I sign releases myself, but if I understand right, this is replaced by Amazon (so I don't know the release signature). Note: The package names of my development/test/debug version and the released version are intentionally different. How do I know if my signature is replaced by Amazon? How can I add a released app to a profile? (which signature) Must a release contain the api_key.txt? 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.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Apshift, Sorry for late response and thank you for post. When we process your app to allow distribution through Amazon, our technology over-writes your private signature with Amazon's by default. Yes, this is desired that your app, which is integrated with GameCircle, should contain api_key.txt (with a valid api key) in the assets folder of it's apk, but since the app is signed with Amazons signature, we replace the api key that is associated with the certificate we use to sign the apk. So you need to only ensure that the GameCircle functionality works fine in the app with the api key which is associated with release certificate. You need to link your app to a security profile. If an app is not linked to a security profile, the system would not replace the api_key.txt. Please refer this link for clear understanding about linking an app to a security profile : https://developer.amazon.com/sdk/gamecircle/documentation/gamecircle-config.html#Section3
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, many thanks for your info! Ok, my app is linked with a security profile. Does this mean, that the api_key.txt in an uploaded release is automatically replaced by Amazon with the correct key for that security profile? 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.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Yes. You are correct. During the ingestion process, the api key is replaced.
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
Your info was very helpful, 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.