...
4. 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 |
...
5. Add the following implementation to the method named: application:didRegisterForRemoteNotificationsWithDeviceToken:
...
Please review the documentation provided with the SDK for the below methods :
Code Block |
---|
- handleActionWithIdentifier:forRemoteNotification:completionHandler: - didReceiveRemoteNotification:fetchCompletionHandler:andNotifyCompletionWithBlock: |
10. OPTIONAL STEP - To implement 'Deep Linking', 'Opening a View Controller', 'Open the App Store' and a website, add the following implementation to the method named: application:openURL:sourceApplication:annotation:
...
.
...
11. OPTIONAL STEP - Appoxee delegate:
Code Block |
---|
#pragma mark - AppoxeeDelegate - (void)Appoxee:(Appoxee *)appoxee handledRemoteNotification:(APXPushNotification *)pushNotification andIdentifer:(NSString *)actionIdentifier { // a push notification was recieved. } |