Skip to content

Latest commit

 

History

History
66 lines (49 loc) · 1.88 KB

README.md

File metadata and controls

66 lines (49 loc) · 1.88 KB

KR8OS

iOS SDK

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.