CocoaPods trunk is moving to be read-only. Read more on the blog, there are 10 months to go.
| TestsTested | ✗ |
| LangLanguage | |
| License | MIT |
| ReleasedLast Release | Jan 2015 |
Maintained by Himanshu Retarekar.
PepperKit-iOS allows developers to develop apps that integrate the PepperKit functionality in their apps.
The primary purpose of the SDK is to make it easy to use the PepperKit platform. It provides functionality to initiate chat between two clients. Read below for additional information, or check out the complete documentation for a look at all the classes available with the SDK.
The recommended way to access the PepperKit-iOS SDK is through CocoaDocs.
This document contains the following sections:
The SDK runs on devices with iOS 7.0 or higher.
(Manual)
Vendor, so we move the directory into it.(Cocoapods)
Drag & drop PepperKit.embeddedframework from your project directory to your Xcode project.
Similar to above, our projects have a group Vendor, so we drop it there.
Select Create groups for any added folders and set the checkmark for your target. Then click Finish.
Select your project in the Project Navigator (⌘+1).
Select your app target.
Select the tab Build Phases.
Expand Link Binary With Libraries.
Add the following system frameworks, if they are missing:
AccelerateAssetsLibraryCoreDataCoreGraphicsCoreImageCoreLocationFoundationImageIOMapKitMessageUIMobileCoreServicesQuartzCoreSecuritySystemConfigurationUIKitAdd the following libraries, if they are missing;
icucoreOpen your AppDelegate.m file.
Add the following line at the top of the file below your own #import statements:
#import <PepperKit/PepperKit.h>
Search for the method application:didFinishLaunchingWithOptions:
Add the following lines to setup PepperKit:
[PepperTalk sharedInstance].clientId = @"YOUR_CLIENT_ID";
[PepperTalk sharedInstance].clientSecret = @"YOUR_CLIENT_SECRET";
[[PepperTalk sharedInstance] enableInAppNotificationsInViewController:self.window.rootViewController]; //To enable in-app notifications
To enable Remote Notifications
application:didRegisterForRemoteNotificationsWithDeviceToken
[PepperTalk sharedInstance].deviceToken = deviceToken;application:didReceiveRemoteNotification:
[[PepperTalk sharedInstance] handleRemoteNotification:userInfo presentingViewController:self.window.rootViewController];