- iOS
- Android
- Prerequisites
- Download the required files
- Install the downloaded files
- Sample Code
-
API Documentation
- Change Header theme
- Change Screen Background
Theme - Change Back Button theme on Header
- Change List theme
- Change Text Notification Detail
View theme - Change Event Notification Detail
View theme - Change Photos & Videos
Notification Detail View theme - Change Newsletter Notification
Detail View theme - Change Document Notification
Detail View theme - Change Survey Notification
Detail View theme
Install the downloaded files
Once you have downloaded the integration build (app_integration.zip) for your app group, you will need to unzip the file to find two separate zip folders, one for iOS (xNotifyIOSFramework.zip) and one for Android (xNotifyAndriodLibrary.zip). For iOS integration you will need to extract the zip folder for iOS (xNotifyIOSFramework.zip). You will get the following two folders after you unzip the zip file for iOS:
- XNotifyBundle.framework
- Resources
Add the Required Frameworks
In your app project, you must add the following built-in frameworks in Xcode before you start the integration:
To add these frameworks, go to your project navigator and do the following:
1) Select your Project
2) Select your Target
3) Select the "Build Phases" tab
4) Expand "Link Binaries With Libraries"
5) Click the + button
6) Select the frameworks listed below, one by one
- SystemConfiguration.framework
- EventKitUI.framework
- EventKit.framework
- MediaPlayer.framework
- MapKit.framework
- Social.framework
There is no need to add any of these frameworks again, if they already exist in your project.
Add the Resources Folder
The "Resources" folder that was extracted from the iOS integration package (xNotifyIOSFramework.zip) needs to be added to your project.
Right click on the project and select "Add files" as shown below:
You will be presented with a dialogue box as shown below:
Now see the the Resources folder into your project as shown below:
Add the XNotify Framework
Go to the project navigator in Xcode, select "Project", select "Target", select Build Phases" as shown below:
In the above screen, Click the + button as shown. You will be presented with a dialog box as shown below:
Click "Add Other" in the above screen. Select the XNotifyBundle.framework folder as extracted from the iOS integration package and click Ok.
You will see the XnotifyBundle.framework added to the list of frameworks as shown below:
Congratulations! You have added the Xnotify framework to your project successfully.