Makemoji iMessage Extension

The Makemoji iMessage Extension allows for quick development of a iOS custom iMessage extension that is powered by the Makemoji CMS.

You will first need to create a iMessage extension target in your Xcode project.

Xcode will autogenerate a bundle id using this method. Typically its com.yourapp.imessage

Then add the following to your Podfile for your new target and run pod update

    pod "MakemojiSDK-iMessageExtension"

Once the pod is installed, we can modify the auto-generated controller Xcode created to use Makemoji's controller.

In MessagesViewController:

#import <MakemojiSDK-iMessageExtension/MEMessagesViewController.h>

@interface MessagesViewContoller : MEMessagesViewController

In KeyboardViewController.m, you'll want to include the following:

#import "MessagesViewContoller.h"
#import "MEStickerAPIManager.h"

@interface MessagesViewContoller ()


@implementation KeyboardViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        [MEStickerAPIManager setSdkKey:@"YOUR_SDK_KEY"];
        self.shareText = @"Change this text to a link to your app";
    return self;