Amazon Device Messaging (ADM) is the transport method that Urban Airship supports for Amazon notifications.
Get Your OAuth Credentials and API Key
While you will not need in-depth knowledge of Amazon’s ADM platform in order to use ADM for push notifications, we recommend that you review Amazon’s Understanding ADM documentation before continuing
- Log in to the Amazon Apps & Games Developer Portal.
- Follow Amazon’s documentation to obtain your OAuth Credentials and API Key.
- Navigate to Security Profiles » General, and save the Client ID and
Client Secret (OAuth Credentials) values for use in the
Urban Airship SDK step
- Click the Android/Kindle Settings tab, copy the value of the API key, and
paste it as the only data in a new text file named
api_key.txt, which will be used in the API Key step below.
For a release, or production, version of your app, see Store Your API Key as an Asset.
Urban Airship Steps
Configure the Amazon Service
- Choose your project from the
Urban Airship dashboard,
click the Settings dropdown menu, then click Platforms.
- Click the Configure button for Amazon, then enter your Client ID and
- Click the Save button, or cancel to discard.
For more information about configuring your project, as well as how to use the Urban Airship web application, see the Engage User Guide.
Save the API Key
api_key.txt file created above into
your application’s assets directory: src/main/assets/.
Configure the UA SDK
To send notifications, you must integrate the Urban Airship SDK into your Amazon application. See: Android/Amazon: SDK Installation.