Skip to content

Getting AID#

Applies to LUNA ID for Android only.

The Activation Identifier (AID) is a unique identifier generated by the VisionLabs licensing server during the LUNA ID activation. It serves as a reference key for locating and correlating a specific activation record in backend systems.

To get AID from the license.dat file, use the following method:

val aid = LunaID.getAid()
Log.d("GET_AIR", "aid=$aid")

The AID is returned as a string, which is the UUID in hexadecimal, for example:

af8de775-37e0-4e0b-b120-d4a59842257b