kochava.*

Type Library
Revision 2017.3060
Keywords analytics, attribution, Kochava
Platforms Android, iOS

Overview

The Kochava plugin allows you to integrate the Kochava SDK for leveraging hundreds of ad network and publisher partners. This limits the number of third-party SDKs required to run a successful UA strategy while greatly reducing complexity during update cycles.

Registration

Before using this plugin, you'll need to register with Kochava to receive an app ID.

Syntax

local kochava = require( "plugin.kochava" )

Functions

Events

Project Settings

To use this plugin, add the following entry into the plugins table of build.settings. When added, the build server will integrate the plugin during the build phase.

settings =
{
    plugins =
    {
        ["plugin.kochava"] =
        {
            publisherId = "com.coronalabs"
        },
    },
}
Important

For iOS, when submitting your app to the App Store, follow these guidelines:

  • Make sure you select yes when asked if your app uses the Advertising Identifier (IDFA).
  • Ensure that the Attribute this app installation to previously served advertisement box is checked.
Note

For Android, the following permissions/features are automatically added when using this plugin:

  • "android.permission.INTERNET"
  • "android.permission.ACCESS_NETWORK_STATE"
  • "android.permission.ACCESS_WIFI_STATE"

Support