Device Identifiers

About Device Identifiers

Type: Gideros plugin
License: Free
Supported platforms:

   

Categories:
  • Utilities and Tools

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.

Code example:

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