I am working with ADM sample project(KindleMobilePushApp). - I made Security Profile(Cliend ID, Client Secret), Api Key(with package name) - I set the
api_key.txt file in assets. But I have a problem. When I execute my testApp with Eclipse, I see below message. And I couldn't debug or get help. - ADM Error INVALID_SENDER - Unable to parse API Key for package Did you forget to embed it? I think it is due to api key problem. but I couldn't get detail. I have just submitted the App so it is state of pending. I wonder that Is it possible to test without complete Program qualification
Hello, I am having the same problem. 'ADM Error INVALID_SENDER - Unable to parse API Key for package 'package name'. Did you forget to embed it?' I have generated api key and and stored it in the asset folder. Please help me to fix this. Thanks.
Hello Joseph, Thanks for reaching out to us. If you are still having issues, please go to your security profiles page at
https://developer.amazon.com/iba-sp/overview.html , and make sure that you have the correct API key downloaded for your package name and MD5 Signature for your SSL certificate. Once this key is downloaded it needs to be in the assets/
api_key.txt file within your APK on attempting to use ADM otherwise your implementation will fail.
Hello I am having same issue. I am using Unity3D for development [b]
api_key.txt [/b] is under [b]Plugins/Android/assets[/b] folder. I used Android getAssets() API to verify key is there or not. I can see the text file and its contents are there, but still application throw the "ADM Error INVALID_SENDER - Unable to parse API Key for package 'com.KnowledgeAdventure.AzurePushNotificaionTest'. Did you forget to embed it?". I have put MD5 and create security profile on developer portal. One question what happen when i start app without internet does it still throw the same error? Thanks
Hi Nick, I am facing the same issue below is the logs which I am getting while running the app from eclipse with connected Kindle device- [b]10-09 11:50:17.409: E/ADM(11674): ADM Error INVALID_SENDER - Unable to parse API Key for package 'package name'. Did you forget to embed it? 10-09 11:50:17.409: E/ADMSampleMessenger(11674): ADMMessageHandler:onRegistrationError INVALID_SENDER [/b] [u]Steps followed-[/u] - Generated API key with passing application Package name and Signature of Keystore file. - Kept generated API key under project's assets folder with
api_key.txt name. However, while running the app from eclipse it never goes to [b]onRegistered[/b] method resulting I am not able to get registrationId. Please guide me where I am making mistake. I tried all the suggested steps in Forum but nothing worked in my case. Thanks,