You will learn
Learn how to send a preview of your push notifications to a device. By sending a preview, you can make sure your push notification looks exactly as you expect before your customers ever see it.
For testing on iOS, you must use v2.2.0 or higher of the Klaviyo Swift SDK in your app for this feature to work. For both iOS and Android, you may send preview notifications to apps in production or sandbox environments.
Before you begin
Before you preview a notification, you need to:
- Integrate the Klaviyo SDK into your iOS or Android mobile app.
- Configure iOS or Android push notifications in your Klaviyo account.
- Create a profile in Klaviyo through the app on your test device.
- Opt in to push notifications on your test device.
- Copy the push token for your device (which you can find on your profile).
Want to request a feature for Klaviyo push notifications? Fill out this Google form to tell us about it!
Preview push notifications
Previewing a push notification is simple:
- Create a campaign or flow message.
- In the upper right corner of the push editor, click Preview.
- Paste in your push token.
- Select Send preview.
You can send up to 100 preview push notifications in a 24-hour period.
Additional resources