newuser-f74ed204-ba8c-4e71-b90f-e32717221fc2 avatar image

Not getting ADM Messaging notifications when Fire tablet is asleep

I recently converted my app to be able to run on Fire devices. I am using ADM Messaging to receive messages and then create notifications as per the ADM docs, so that users receive alerts when the app is not in focus.

When I minimize the app I receive notifications and everything is working fine.. until I leave the tablet alone for a while and it goes to sleep. At this point if I trigger a new ADM message nothing happens.

If I then click the power button to wake the device, I get the notification.

On a device running Fire OS when I wake the device I hear the notification alert sound and see the notification.

As per the docs, I have added the WAKE_LOCK permission to the Android manifest file, which I assumed is required to prevent this issue, but it seems to have no effect.

Any help would be gratefully received.

fire tabletamazon device messagingnotifications
10 |5000

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

0 Answers