TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | Custom |
ReleasedLast Release | Oct 2016 |
Maintained by Raz Elkayam.
This repository contains the Appoxee iOS SDK.
Cocoa pods
target 'project_name' do
pod 'AppoxeeSDK'
end
OR
target 'project_name' do
pod 'AppoxeeSDK', :git => 'https://github.com/AppoxeeMobile/iosArtifacts.git', :tag => '4.1.4'
end
Manual
AppoxeeSDK.framework
to your project.AppoxeeSDKResources.bundle
to your project.UserNotifications.framework
to your project.Make sure to provide an AppoxeeConfig.plist
file.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>sdk</key>
<dict>
<key>sdk_key</key>
<string>123456789.00</string>
<key>is_eu</key> <!-- Optional, indicate if account is EU / US -->
<false/>
<key>open_landing_page_inside_app</key> <!-- Optional, indicate if landing page should open inside the app or via Safari -->
<false/>
</dict>
</dict>
</plist>
Objective-C
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[[Appoxee shared] engageAndAutoIntegrateWithLaunchOptions:launchOptions andDelegate:nil];
return YES;
}
Swift
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
Appoxee.shared()?.engageAndAutoIntegrateWithLaunchOptions(launchOptions, andDelegate: nil)
return true
}