Android Action Buttons

Configuring Action Buttons

When creating mobile push notifications, you can add several action buttons for greater interactivity. When a receiver touches the screen for an extended period of time (long pressing), it displays the actions assigned to your push notification. Android OS supports up to 3 buttons in a single notification.

Adding Action Buttons

  1. In your account, select MessagesMessagesMobile Push.
  2. Create a new mobile push notification or edit an existing one.
  3. In the Buttons section, enter all the parameters as shown below.
  1. Click + Add Button if you want to add more buttons.



You must enter the values in Action ID and Text for this button to work correctly. You have to use different Action IDs when you add multiple buttons.

Action IDA unique identifier for the button action.
TextThe text that a button displays.
Launch URLAn URL or a deeplink that opens when the notification is selected.
Custom dataAdditional parameters associated with the button in JSON format.

Handling the Action Button Click Events

When a user clicks any button in push notification, RetenoSDK fires a broadcast with accompanied data bundled. Follow the instructions to implement the broadcast receiver.

See Documentation