jonkykong / ios-sdk

The official KR8OS iOS SDK.

Home Page:http://www.KR8OS.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS SDK

Version License Platform

Overview

This SDK integrates KR8OS into your iOS apps to track new app installations. To learn more about KR8OS and how it can accurately track advertising attributions, please visit www.KR8OS.com.

Requirements

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate KR8OS into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod 'KR8OS'

Then, run the following command:

$ pod install

Usage

Code Implementation

At the top of your App Delegate, import KR8OS:

import KR8OS

Next, add the following to your App Delegate's didFinishLaunchingWithOptions method:

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    // Override point for customization after application launch.

    // Note: if you differentiate between debug and release build of your app, please use KR8OS.registerInstall(appId: "YOUR_APP_ID_HERE", debug: true)
    KR8OS.registerInstall(appId: "YOUR APP ID HERE")

    return true
}

License

This KR8OS iOS SDK is available under the MIT license. See the LICENSE file for more info.

About

The official KR8OS iOS SDK.

http://www.KR8OS.com

License:MIT License


Languages

Language:Swift 86.9%Language:Ruby 13.1%