...
2. Drag AppoxeeSDK.framework into you project, or use cocoapods see link “add mobile push sdk”“Add the Mobile Push SDK”
3. Open your AppDelegate.m file, and add the following import statement:
...
Code Block |
---|
@interface AppDelegate() <AppoxeeDelegate><AppoxeeNotificationDelegate> @end |
5. Add the following implementation to the method named: application:didFinishLaunchingWithOptions:, Where, xxx.xxx represents the SDK ID. These were created for you with the Appoxee Dashboard:
Code Block | ||
---|---|---|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [[Appoxee shared] engageWithLaunchOptions:launchOptions andDelegate:self andSDKID:@"xxx.xxx"]; // Insert other initialization code or other Frameworks code below. return YES; } | ||
Info | ||
| ||
Attention! you will still need to define AppoxeeConfiguration.plist file, if you need to configure your applications environment |
6. Add the following implementation to the method named: application:didRegisterForRemoteNotificationsWithDeviceToken:
...