iOS 10 provides additional options for showing push notifications, such as title/subtitle/body fields, image/video/gif attachments, and even customized view controllers. Take advantage of these media features when using In-App Marketing push notifications.
Before you can create a push campaign and include rich media messaging, you'll need to ensure sure that push notifications are configured for your account. The UnLearn how to set up push for iOS is included in the developer documentation in the In-App Marketing push notifications article.
Note: For iOS 9+, all non secure (http://) link attachments require one to change the Allow Arbitrary Loads. To set this up in xCode, please see the iOS 10 Rich Push Notifications article and follow the information for Allowing non-secure attachments URL's.
Types of Messages
Select the type of message to deliver robust and rich messages. Options include:
- Only Text - Select this option to include basic text messaging. You can also select a subtitle to add additional information.
- Text + Image - Select this option to include text and an image or gif. Enter the image URL or upload an image or gif. Note: TUNE's recommended image specifications are 600x300. TUNE recommends 600x300 image specifications to ensure that the image is rendered on low end and mid range devices. While a large size image with 2:1 aspect ratio may render on high end devices, it my not on low end to mid range devices. We recommend testing the image on devices in addition to using preview mode.
- Text + Video - Select this option to include text and a video. Enter the video URL or upload a video.
Note: If you are including a images or a video message, this requires additional development work. The UNNoticationServiceExtension must be enabled before you can include images and videos to send with your notifications. For more information on this topic see the Apple developer UNNotifcationServiceExtension article on how to implement and handle the UNNotificationServiceExtension setting.
The following fields can be included in the push payload for rich push notifications:
- Title - Select and enter attributes, emojis and advanced parameters.
- Subtitle - Select and enter attributes, emojis and advanced parameters.
- Body - Select and enter attributes, emojis and advanced parameters.
- Images & Gifs - Select and enter attributes, emojis and advanced parameters. Enter a URL or upload an image or gif file.
- Video - Select and enter attributes, emojis and advanced parameters. Enter a URL for the video.
- Category -Establish a category. The category looks for words or a string variable. After a category variable has been declared in the app, you can replace with whatever you like - a button, link and more!
Important Note: The UNNotificationContentExtension protocol must be implemented to display a custom interface. See the UNNotificationContentExtension Apple Developers article for more information on this topic. The UNNotificationServiceExtention must be enabled before you can include images and videos and send notifications. See the UNNotificationServiceExtension Apple Developers article for more information on this topic.
In-App Marketing Examples
For more information on rich push notifications in our platform, see our In-App Marketing knowledge base articles and view the Rich Push Messaging section on how to create rich and robust messages with text, images, and videos.
Rich Push Messaging with Text
Rich Push Messaging with Text & Images
Rich Push Messaging with Text & Video