Registering an Android app for login with amazon (Amazon Appstore)
[On behalf of: UnifyLog LLC] Hello, I have followed the steps described here:
https://login.amazon.com/android To use "Login with Amazon" in my Android App. The app is distributed using the Amazon Appstore. Now, when I select that option, there's no way to generate an API_KEY. The text reads: "Amazon Appstore will automatically manage the API key for this app." However if I don't include an API_KEY.txt in the assets folder, I get the message: "API_KEY is incorrect or does not exist". On the other hand, if I sign the app with my certificate and create an API_KEY, it works just fine in my environment but when I submit it to the appstore. The app fails because the certificate doesn't match Amazon's. Please help
Hi there, I'm forwarding this issue to domain experts to get some clarity on the problem. In the meantime, will the workaround of keeping the API_KEY.txt file around for debugging and deleting it for release to the Appstore will work for you for now?
[On behalf of: UnifyLog LLC] This issue still hasn't been resolved. Following instructions here:
https://login.amazon.com/android So far here is what we have: This app is distributed in the Amazon AppStore Following: Option 1) Register as a self-signed app in the app with my certificate fingerprint: It works fine once it is signed with the certificate. But it fails to pass QA with NUllPointerException Option 2) Register the app as "Signed by Amazon" in which case there's no API_KEY Since there's no API_KEY, there's no way to test it as it always fails saying: API_KEY does not exist or it is invalid Option 3) Use the MD5 finger print provided by Amazon's QA team. There's no way to test in Dev, passes QA Tests. But fails in Production with the same error: API_KEY does not exist or it is invalid. Please help
Hi, You will need to create two Android API Key configuration for your app under your application in the Login with Amazon App Console. One for testing and debugging that should be self signed and include your application's signature and package name. And one for submitting to the Amazon Appstore that is configured as signed by Amazon. You shouldn't have to modify your application for submission. You can leave the API key generated from your self-signed Android API Key configuration and it will be replaced after submission to the Amazon Appstore with the one generated by the Amazon Appstore. Please let me know if you are still having issue with this solution and we will assist you further.
[On behalf of: UnifyLog LLC] Hello Nic, Yes, I considered that as an option, I have actually created the two configurations in Seller Central. One gives me the option to download the APIkey which I did and included it in the assets folder. The other one doesn't have that option, instead it reads: "Amazon Appstore will automatically manage the API key for this app." But that didn't help: Still in Production I get "APIkey is incorrect or does not exist" Any other ideas?
Hi, If I understood correctly you have both the Amazon Managed Android API Key configuration and the Self-Signed Android API Key Configuration and are submitting the app with the API Key that is generated for the Self-Signed Android API Key Configuration. If that is indeed the case than it seems like the process you are following is correct. We are investigating the issue from our end and I will provide you an update as soon as it's available.