Push carousels
Show several products, offers or stories in one push notification. A push carousel holds a series of items, each with its own image, title, message and tap action, and users move between them without opening your app.
Requirements​
Push carousels need the following SDK versions in your app:
- iOS - iOS SDK 10.12.0 or higher, with a notification content extension. For more information, see Push carousels in the iOS integration guide.
- Android - Android SDK 12.4.0 or higher, with the Firebase or Huawei SDK. No integration steps are needed.
Users on an earlier version of your app receive a standard push notification with the push's title and message.
Create a push carousel​
Instructions for creating a push carousel in the Swrve dashboard are coming soon.
How push carousels look​
The collapsed notification shows the push's own title and message, so write them to make sense on their own. When the user expands the notification, it shows the first item, with its title and message above its image.
iOS​

- Navigation - Users swipe between items. A carousel of three or more items wraps around from the last item to the first. The dots below the item show the position.
- Images - Each image runs the full width of the notification.
- Text - The title and message wrap onto as many lines as they need. The notification grows to fit, up to the height iOS allows, and an item with more text than fits scrolls.
Android​

- Navigation - Users select Previous and Next to move between items, and the carousel wraps around at either end. The dots between them show the position.
- Images - Each image sits below the message, with rounded corners on Android 12 and higher.
- Text - The title shows on one line, and the message wraps.
Image guidelines​
Use the same size and shape for every image in a carousel. For the best results on both platforms, use images with a 2:1 aspect ratio, for example 1024 × 512 pixels. Images in this shape show in full on iOS and Android.
The first image sets the shape of the image area for every item, so the notification stays the same size as users move between items. An image in a different shape is cropped to fill that area.
To show the same on both platforms, keep the first image between 3:1 and 3:2. A first image outside that range is cropped to the nearest shape. If your images can't all be the same shape, keep the important content in the middle of each one.
If an item's image can't be downloaded, a placeholder shows in its place, so the notification keeps its size.
Text guidelines​
Keep each item's title to one line and its message to one or two lines, so the image stays in view. Keep the text a similar length across items, too. On iOS, items share the height of the tallest text area so their images line up, which leaves space under the text of shorter items.
On iOS, an item with more text than fits keeps its own height and scrolls, so its image starts lower than the other items' images.
Item actions​
When the user selects an expanded item, the app opens and performs that item's action:
- URL - The app opens the URL through its deeplink handling.
- No URL - The app opens.
Push carousels don't support custom buttons.
Next steps​
- Set up push carousels in your iOS app. For more information, see Push carousels.
- Learn about other rich media you can include in push notifications. For more information, see About rich push notifications.
- Test your push notifications on a QA device. For more information, see Testing push notifications.