researchla.blogg.se

Amazon freetime messaging
Amazon freetime messaging







amazon freetime messaging amazon freetime messaging

When the device is in doze mode, the delivery of normal messages is delayed until the app is in the foreground.įor high priority messages, ADM attempts to deliver the message immediately, regardless of the state of the user's device. Normal priority messages are delivered to users immediately when the app is in the foreground. Normal is the default priority for both message types. App stateĭata message: in the extras of the intentįor both data and notification messages, there are two priority states: normal and high. The table below describes the behavior of messages based on the state of the app. Background apps receive notification payloads in a system tray and deliver the message when a user taps the notification. The behavior of ADM messages on a device depends on the state of your app (whether the app is in the background or foreground).įoreground apps receive message payloads for both data and notification messages when they are received by the device. The ADM SDK handles your messages with the onMessage method. Here's an example of message payload for a data message: You need to configure the logic for these notifications in your app. Data messageĪ data message is an ADM message that you create with custom logic and pass to devices using ADM. See the sections below for details on each message type. The message about the offer is a notification message, while the second page requiring a promotional code is a data message with custom logic. When the user engages with the message, they are sent to a page requiring a promotional code. For example, you can send an message that an item in a user's cart has a promotional offer. Use data and notification messages when you want to automatically display a message that a user can take action on. Use notification messages for a message that is automatically displayed to users, such as promotional offers or marketing notifications.Ī notification message that also contains a data message payload of custom key-value pairs. Messages handled by the ADM SDK and defined by preset key-value pairs.

amazon freetime messaging

For example, you can use data messages to send messages to your app's background tasks. Use a data message when you want to use custom logic to process a message. Messages handled by your app and defined by custom key-value pairs.

amazon freetime messaging

ADM offers three types of messages, described in the table below. In ADM, a message is a communication between a developer app and a developer server. Make sure you have integrated your app with ADM before you get started with ADM messages. Amazon Device Messaging (ADM) offers push notifications (messages) that you can use to display messages about your app on a user's device.









Amazon freetime messaging