类型 函数 返回值 无 修订版本 版本 2024.3703 关键词 分析, 归因, AppsFlyer, getVersion 另请参阅 appsflyer.*
此函数返回插件版本。返回的数据格式为 `pluginVersion` - 当前 Corona AppsFlyer 插件版本和 `sdkVersion` - 当前 AppsFlyer SDK 版本,位于 [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()