To implement ADM (Amazon Device Messaging) you need to use A4SSDK-Plugin-Amazon.
Get credentials from Amazon
To be able to receive notifications on Amazon products (like Kindle Fire), you need to retrieve the OAuth Credentials and API Key.
To do this, please follow these instructions Getting Your OAuth Credentials and API Key.
When this is done, go to Security Profiles and choose the Security Profile associated with your application. In the General tab, get the Client ID and Client Secret:
Go to the Android/Kindle Settings tab and store your key in a file named api_key.txt. This will be used later.
Configure ADM with Accengage User Interface
- Go to Accengage User Interface, and to Settings > Manage Application and find your application
- Edit your application's settings, and check Amazon checkbox. Then, fill Amazon Client ID with your own Client ID and Amazon Client Secret with your own Client Secret :
Configure ADM with your app
Add Amazon Plugin with Gradle
To be able to receive ADM Notifications, you need to integrate our Amazon Plugin with Gradle.
Add API Key
To be able to receive ADM Notifications, you need to add a valid API Key in your application. To do this, just add the api_key.txt file from Get credentials from Amazon part and place it in the assets folder.
More information here.