Provides functionality to get the advertising id and tracking status. Supported on iOS and Android. [icon:ios] [icon:android]
Version: stable
FUNCTIONS | |
---|---|
adinfo.get() |
adinfo.get()
Get a table with advertising information. [icon:attention] function returns nil if values do not ready
PARAMETERS
None
EXAMPLES
function init(self)
adinfo.get(function(self, info)
print(info.ad_ident, info.ad_tracking_enabled)
end)
end