/Leanplum-iOS-CustomTemplates

Custom message templates example for iOS

Primary LanguageObjective-C

Leanplum-iOS-CustomTemplates

Custom message templates example for iOS

This project illustrates how to define a new message/action template in Leanplum. The samples include defining a 3-button Alert message and a Slider (Pager) template. They are available in both Swift and Objective-C.

Installation

Go to the respective project folder and run: pod install

Sync the new message templates to the Dashboard from Messages:
Sync Message templates

Documentation

Full Documentation can be found in Leanplum Docs

Setup

Once the templates are synced, they will appear in the Campaign Composer under Custom In-App section:
Custom In-App section

3-button Alert

Composer:
Alert Composer
Message:
Alert Message
Results:
Alert Results
Milestones:
Alert Milestones

Slider

Composer:
Slider Composer
Message:
Slider Message
Milestones:
Slider Milestones

Ads Tracking

Documentation on the Ads Tracking templates can be found in the Leanplum Docs.