-
If you do not have cocapods integrate in your app follow this guide
-
Add EMMA dependeny to you Podfile file
pod 'eMMa'
- To download and install the dependency execute the following command in the terminal
pod install
- Import the SDK in your AppDelegate and start session in EMMA
#import <EMMA_iOS/EMMA_iOS.h>
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
EMMAConfiguration * configuration = [EMMAConfiguration new];
[configuration setSessionKey:@"%%%SESSION_KEY%%%"];
[EMMA startSessionWithConfiguration:configuration];
}
@end