To run the example project, clone the repo, and run pod install
from the Example directory first.
MakemojiSDK-Data is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'MakemojiSDK-Data'
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" }];