Type Library Revision Release 2025.3721 Keywords advertising, ID Platforms Android, iOS
Provides access to the advertising identifier.
local advertisingId = require( "plugin.advertisingId" )
To use this plugin, add an entry into the plugins table of build.settings. When added, the build server will integrate the plugin during the build phase.
settings =
{
plugins =
{
["plugin.advertisingId"] =
{
publisherId = "com.coronalabs"
},
}
}