This is a Gideros plugin to easily get UDID (Android only), iOS Advertising ID, iOS ID for Vendor, IP Address, MAC Address, or ISO Country code for Android and iOS devices.
require("identifier")
// Android and iOS
local mac = identifier.getMacAddress() //Returns string
local ip = identifier.getIPAddress() //Returns string
local cc = identifier.getCarrierCountryCode() //Returns ISO string
// Android only
local udid = identifier.getUDID()
// iOS only
local aid = identifier.getAdvertisingID() // Gets iOS advertising ID
local idfv = identifier.getIDForVendor() // Gets iOS ID for Vendor