본문으로 건너뛰기

Install the SDK

This page describes how to install the SDK for each platform.

iOS

The SDK has dependencies on the following frameworks, so add them.

  • CoreTelephony.framework
  • SystemConfiguration.framework

You can install the SDK using CocoaPods.

pod 'NTrackerSDKExt'

Note

iOS 14.5 or later requires you to receive permission to access the value of Identifier for Advertisers (IDFA) from users through the app tracking transparency (ATT) framework. For more information, see Apple’s User Privacy and Data Use.

The SDK complies with Apple’s ATT policy. It takes over the trackingAuthorizationStatus (app-tracking permission status) of the app which has the SDK installed, and collects IDFA data only when the user allows app conversion tracking.

Android

The SDK has dependencies on the following libraries. Add the dependency configuration in the Gradle dependencies block.

dependencies {
implementation 'com.google.android.gms:play-services-appset:16.0.2'
implementation 'com.android.installreferrer:installreferrer:2.2'
}

Installing the SDK requires the following permissions. Add the configuration to AndroidManifest.xml.

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

The SDK is available via Maven central repository. Add the “mavenCentral” repository to the Gradle configuration.

allprojects {
repositories {
mavenCentral()
}
}

Add the following dependency configuration in the Gradle dependencies block.

dependencies {
implementation 'com.navercorp.ntracker:NTrackerSDKExt:version name'
}