- About Braze Demo
- Content Cards
- In-App Messages
- Push Notifications (Content Extension Notifications)
- Using the Project
The focus of this application demonstrates how to decouple any dependencies on Appboy-iOS-SDK
from the rest of your existing production code. One objective was for there to be only one import Appboy-iOS-SDK
in the entire application.
All of the Braze-related dependencies are handled in the BrazeManager.swift file that the existing production code calls into.
In doing so, this project demonstrates the abilities of how custom objects can be represented as Content Cards.
In doing so, this project also demonstrates how to natively customize In-App Message with subclassed ABKInAppMessageViewControllers
.
Objects can adopt the ContentCardable protocol which comes with the ContentCardData
object and an initializer.
Upon receiving an array of ABKContentCard
objects from the SDK, the corresponding ABKContentCard
objects are converted into a Dictionary
of metadata that are used to instantiate your custom objects.
- Content Cards as Supplemental Content to an existing feed
- Content Cards as an Inline Ad Banner
- Content Cards as a Message Center
- Content Cards as an Interact-able View
- Content Cards that can be inserted/removed to/from an existing feed in real-time via silent push (device only)
- Content Cards that can be reordered in an existing feed in real-time via silent push (device only)
Custom view controllers can represent in-app messages by subclassing ABKInAppMessageViewController
. Due to the individusalitic nature of in-app messages, we can mix and match displaying custom in-app messages and default in-app messages.
- Slideup In-App Message with a modified resting point
- Modal In-App Message as a dynamic list
- Modal In-App Message as a native video player
- Full In-App Message as a Push Notifications primer with list of push tags
- Full In-App Message as an interactive App Tracking Transparency primer
Custom interfaces can be added to Push Notifications with the help of Notification Content Extensions.
- Interactive Push Notification (Match Game)
- Personalized Push Notification (Braze LAB Progress)
- Information Capture Push Notification (Register Email)