question

Me Girl Team avatar image
Me Girl Team asked

How to get registration id in ADMMessageHandler

Hi, I want to get the registration id outside onRegistered function in ADMMessageHandler but I cannot get it. Is there other way for me to get the registration id with ADMMessageHandler in my own functions?
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.

1 Answer

Bipin@Amazon avatar image
Bipin@Amazon answered
Hi, The sample application given in the SDK ( https://developer.amazon.com/sdk/thank-you.html) will help you. Code shows you how to send the registration ID to any external server through HTTP connection.
10 |5000

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