With iOS 10 onwards, you can use rich push notifications to enhance the user experience and communicate with mobile app audiences in a more creative and interactive way - using images, audio, and video.
Before using these features, your developers need to make the following changes.
- Upgrade to MoEngage iOS SDK v 3.0 or above
- Make the Xcode project settings changes
- Implement Notification Service Extension for the App
Once done with these changes, go to the MoEngage dashboard to Create Campaign. For iOS platform, go to Rich Content to use image, video & audio
a) Image/Gifs (iOS Version 10 & above and MoEngage SDK Version 3.0.0 & above only) - This enables an image to be shown in the push message. The image can be uploaded either via i) a URL OR via ii) dragging & dropping or uploading an image from the system. Supported image formats are JPEG, PNG, and GIF. The maximum allowed size is 10 MB for iOS.
b) Video (for iOS only - iOS Version 10 & above and MoEngage SDK Version 3.0.0 & above) - Enables you to attach a video to your iOS Notification. The video file should be hosted somewhere and be directly playable. iOS 10 supports MPEG, MPEG2, MPEG4 & AVI formats of video. The maximum size of the videos should be less than 50 MB.
P.S. Do not add Youtube video links as they do not work.
c) Audio snippet (for iOS only - iOS Version 10 and above and MoEngage SDK Version 3.0.0 and above) - Enables you to attach an audio snippet to your iOS Notification. The audio file should be hosted somewhere and be directly playable. iOS 10 supports .wav and .mp3 formats of audio files. The maximum allowed size of an audio piece should be less than 5 MB.