Type Function Return value none Revision Release 2024.3703 Keywords analytics, attribution, AppsFlyer, getVersion See also appsflyer.*
Function returns plugin version. The data returned is formatted as a pluginVersion
- current Corona AppsFlyer plugin version and sdkVersion
- current AppsFlyer SDK version in [event.data][plugin.appsflyer.event.adsRequest.data].
appsflyer.getVersion()
local appsflyer = require( "plugin.appsflyer" ) local function appsflyerListener( event ) -- Handle events here end -- Initialize plugin appsflyer.init( appsflyerListener, { appID = "YOUR_APP_ID", devKey = "YOUR_DEV_KEY" } ) -- Sometime later, after AppsFlyer will be fully initialized get plugin and SDK versions appsflyer.getVersion()