Skip to content

Commit cfff6d6

Browse files
authored
docs(push): restore push action buttons README section (#444)
This reverts commit 5e82562. Re-applying README documentation for push action buttons ahead of the 4.4.0 release.
1 parent 291b8cf commit cfff6d6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ send them timely push notifications via [FCM (Firebase Cloud Messaging)](https:/
2828
- [Collecting Push Tokens](#collecting-push-tokens)
2929
- [Receiving Push Notifications](#receiving-push-notifications)
3030
- [Rich Push](#rich-push)
31+
- [Push Action Buttons](#push-action-buttons)
3132
- [Tracking Open Events](#tracking-open-events)
3233
- [Silent Push Notifications](#silent-push-notifications)
3334
- [Custom Data](#custom-data)
@@ -479,6 +480,11 @@ attaching it to the notification is handled within `KlaviyoPushService`. If an i
479480
(e.g. if the device has a poor network connection) the notification will be displayed without an image
480481
after the download times out.
481482

483+
#### Push Action Buttons
484+
[Push Action Buttons](https://help.klaviyo.com/hc/en-us/article/46285872166683) provide the ability to add clickable buttons to
485+
push notification messages. These buttons can show custom text, and, when clicked, deep link or open your app.
486+
A notification can include up to 3 buttons. No additional SDK setup is required.
487+
482488
#### Tracking Open Events
483489
To track push notification opens, you must call `Klaviyo.handlePush(intent)` when your app is launched from an intent.
484490
This method will check if the app was opened from a notification originating from Klaviyo and if so, create an

0 commit comments

Comments
 (0)