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 see Migration of existing customer for steps on migrating to the new SDK4.
Info | ||
---|---|---|
| ||
If you are using Xcode7 or need support of iOS 7, you need to install SDK version 4.0.14 or below |
Prerequisites
- Set up mobile app messaging in iOS for your app.
- Xcode application with a base SDK of iOS 9 10 and above.
- Xcode application with a deployment target of iOS 7 8 and above.A copy of Appoxee SDK 4.0
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 | ||||
---|---|---|---|---|
| ||||
target 'project_name' |
...
do pod 'AppoxeeSDK' |
...
end |
run
...
Code Block | ||||
---|---|---|---|---|
| ||||
pod update |
Option 2 - Manual Adding the mobile push SDK:
...
1. | DragDownload the SDK from Github | |
2. | 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. |