Goal
This topic covers an automatic integration (basic) where you just need to add one method to your project & plist configuration file.
...
AppoxeeConfiguration.plist
<? xml version = "1.0" encoding = "UTF-8" ?>
< plist version = "1.0" >
< dict >
< key >sdk</ key >
< dict >
< key >sdk_key</ key >
< string ></ string >
< key >is_eu</ key >
< false />
< key >open_landing_page_inside_app</ key >
< false />
</ dict >
</ dict >
</ plist >
|
3. For an automatic integration (basic), add the following implementation to the method named: application:didFinishLaunchingWithOptions:
Objective-C
Code Block |
---|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions |
{
{
// Method takes into consideration a valid AppoxeeConfig.plist file in your application. |
[[Appoxee shared] engageAndAutoIntegrateWithLaunchOptions:launchOptions andDelegate:nil]; |
return
Swift
Code Block |
---|
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool |
{
{
// Method takes into consideration a valid AppoxeeConfig.plist file in your application.
Appoxee.shared()?.engageAndAutoIntegrateWithLaunchOptions(launchOptions, andDelegate: nil) |
return
true