Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

Goal

To add the SDK to your app using XCode.

 

Background Information

SDK4 is a newly designed SDK released in July 2016. SDK4 supports iOS versions 78.0 to 910.0 (and above). Built

 Built in an asynchronous manner, modeled, it uses the latest API from Apple which is easy to maintain, fully tested and highly dynamic. If you use a previous version of the iOS SDK, see Migration for Previous iOS SDK Users for see Migration of existing customer for steps on migrating to the new SDK4.

Info
titleBackword Compatibility

If you are using Xcode7 or need support of iOS 7, you need to install SDK version 4.0.14 or below

 

Prerequisites

Procedure

You can integrate the SDK using Cocoapods or by manually copy paste of adding the SDK Cocoa podinto the app

Option 1- Cocoapod:

Add the following to your podfile:

 

Code Block
languageruby
titleCocoapods
target 'project_name'

...

 do   
    pod 'AppoxeeSDK'

...


end

run

...

Code Block
languagebash
titleBash
pod update

 

Option 2 - Manual Adding the mobile push SDK:

...

1

Download the SDK from Github

2.

Drag

Drag AppoxeeSDK.framework

into

 into you project, make sure it is copied.

2
3.

Open your AppDelegate.m file, and add the following import statement:

 

#import <AppoxeeSDK/AppoxeeSDK.h>

3.

Add the following delegate notation (can also be added at AppDelegate.h):

 

@interface AppDelegate() <AppoxeeDelegate>

 

@end

 

Drag AppoxeeSDKResources.bundle into your project, make sure it is copied.
4.Link UserNotifications.framework to your project.
5.Link MobileCoreServices.framework to your project.