kochava.getVersion()

Type Function
Return value none
Revision Release 2024.3703
Keywords analytics, attribution, Kochava, getVersion
See also kochava.*

Overview

Function returns plugin version. The data returned is formatted as a pluginVersion - current Corona Kochava plugin version and sdkVersion - current Kochava SDK version in [event.data][plugin.kochava.event.adsRequest.data].

Syntax

kochava.getVersion()

Example

local kochava = require( "plugin.kochava" )

local function kochavaListener( event )
-- Handle events here
end

-- Initialize plugin
kochava.init( kochavaListener,
{
appGUID = "YOUR_APP_GUID"
}
)

-- Sometime later, after Kochava will be fully initialized get plugin and SDK versions
kochava.getVersion()