iOS 10 brought rich content to push notifications. You can view an image, gif or video directly in the notification without first opening the app. This is achieved using notification service extension which intercepts remote notifications and allows your application to download and prepare appropriate rich content before it is displayed to the user.
Appboy is a platform that helps with user engagement and marketing. Configuring push notifications with Appboy is very easy and provides delivery and personalization of messages. They have decent documentation and samples, however they did not have the Swift version of Notification Service Extension that would work with their platform so I’m sharing one.
The notification service extension is on my Github repo.
If you liked this blog post I’d appreciate if you followed me on Twitter