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 7.0 to 9.0 (and above). 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 of existing customer for steps on migrating to the new SDK4.
Prerequisites
- Set up mobile app messaging in iOS for your app.
- Xcode application with a base SDK of iOS 9 and above.
- Xcode application with a deployment target of iOS 7 and above.
- A copy of Appoxee SDK 4.0
Procedure
You can integrate the SDK using Cocoapods or by manually copy paste of the SDK
Cocoa pod:
Add the following to your podfile:
target 'project_name' do pod 'AppoxeeSDK' end
run
pod update
Manual Adding the mobile push SDK:
1. | Drag AppoxeeSDK.framework into you project, make sure it is copied. |
2. | 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 |