Step 4: Verify - Test Your App
Tip: If you're looking for details on how to test your A3L Messaging integration, see Test A3L Messaging.
If you have implemented Amazon Device Messaging (ADM) in your app, you can confirm that your app is set up with ADM by sending a test notification to a device.
To set up a test notification:
- Log in to the Developer Console.
- Hover over the Apps & Services tab and select Device messaging.
- In the Test your message screen, select the Target app.
- Enter the Client ID and secret and Device registration ID.
- Client ID and secret - See Obtain and store your API key to find your client ID and client secret.
- Device registration ID - Call
getRegistrationId
to find your device registration ID.
- Choose the duration of the message in the Message expires after section.
- Choose the message type.
- Data message - key-value pair required.
- Notification message - title and content required, other fields optional.
- Data & Notification message - key-value pair and title and content required, other fields optional.
- Select Send test message to complete your notification.
Check for the message on your device.
Testing notes
When testing your app's use of ADM, note the following:
- First-generation Kindle Fire tablets do not support ADM.
- Second-generation Kindle Fire tablets must be running the following system versions to support ADM. To see the system version, go to Settings > Device > About.
- Kindle Fire HD 8.9" - System Version 8.3.0 or later
- Kindle Fire HD 7" - System Version 7.3.0 or later
- Kindle Fire (2nd Generation) - System Version 10.3.0 or later. On second-generation tablets, your corporate firewall may block network access for ADM. Your app must be able to communicate with servers outside your corporate network using UDP on one of the following ports: 49317, 33434, 40317
- Other system versions of Fire tablets and Fire TV devices all support ADM.
Push - Submit your app
When you've updated and tested your app, you're ready to submit. For more details, see Submitting Apps to the Amazon Appstore.
Last updated: Mar 24, 2022