advertisingId.*

Type Library
Revision Release 2022.3683
Keywords advertising, ID
Platforms Android, iOS

Overview

Provides access to the advertising identifier.

Syntax

local advertisingId = require( "plugin.advertisingId" )

Functions

Project Settings

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"
        },
    }
}