Our game has 2 versions - regular retail version and an Underground one - both share a single security profile and a single GameCircle configuration, but they use two separate api keys for signing. The api keys share the same MD5 due to both versions being signed with the same certificate.
The regular version works just fine. The Underground one works fine during debug and gets through the review process, but when downloaded from Underground store, GameCircle doesn't work. Under review tab we can see under observations that the problem occurs during review as achievements button is reported to not work.
In log file from the review we found
08-18 12:54:21.734 25090 25090 E GameCircleClient: Unable to read api key. GameCircle requires an api key to be included in 'assets/api_key.txt'. GameCircle will not initialize. 08-18 12:54:21.734 25090 25090 E GameCircleClient: java.lang.IllegalArgumentException: Invalid API Key
The issue persists through several submitted packages.
We have verified that the api key file is present in the package in the assets folder. We have verified that the api key file contains a string obtained from the proper api key record in developer console. We have verified that the Underground version is connected to the security profile. We have verified that the Underground api key is listed in the GameCircle configuration for our app.
What are we missing?
We are using Adobe Flash Builder 4.7 + Adobe AIR SDK 21 + latest GameCircle ANE. Both game versions are packaged and uploaded from the same Windows 8.1 PC.