question

hiramxu avatar image
hiramxu asked

About the api_key for ADM

I have 2 questions for the ADM: 1、whether the api_key is reusable for ADM and GameCircle? 2、whether ADM is supported on Kindle emulator?if supported,how to solve the issue of E/ADMSampleMessenger(1756): SampleADMMessageHandler:onRegistrationError INVALID_SENDER ,i'm sure i keep the api_key in the assets/ api_key.txt file.
amazon device messaging
10 |5000

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

Bipin@Amazon avatar image
Bipin@Amazon answered
1) The same security profile can be used. 2) The same key used to generate api_key should be used for signing the apk too. https://forums.developer.amazon.com/forums/thread.jspa?threadID=1195
10 |5000

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

hiramxu avatar image
hiramxu answered
hi Bipin, Thank you for the answer. but i still don't know how i debug ADM on emulator,can you tell me?
10 |5000

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

hiramxu avatar image
hiramxu answered
now, i knew how to debug,but have a new question: SERVICE_NOT_AVAILABLE.
10 |5000

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

BenB avatar image
BenB answered
Usually means that the internet connection is not available
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 Hiramxu, Please ensure that you have registered your Emulator with an Amazon registered account. Thanks.
10 |5000

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