Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.39 KB

File metadata and controls

45 lines (30 loc) · 1.39 KB

MakemojiSDK-Data

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

MakemojiSDK-Data is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'MakemojiSDK-Data'

Usage

Include the framework header:

#import <MakemojiSDK_Data/MEData.h>

Then set yout Makemoji SDK Key once:

[[MEData sharedManager] setSdkKey:@"YOUR_KEY_HERE"];

Then start tracking emoji events throughout your app. These can be any NSDictionary you want. Here's an example.

[[MEData sharedManager] sendEmojiEvent:@{@"emoji" : @"😀" }];

We will automatically track this to a individual user, but you can also add your own user data to this.

[[MEData sharedManager] sendEmojiEvent:@{@"emoji" : @"😀", @"shared_user" : @"myfriend" }];