Skip to content

Getting LUNA ID version#

To ensure more reliable version identification, the LUNA ID version is transmitted as the SHA256 hash.

In LUNA ID for Android#

To get the LUNA ID version, call the LunaID.getVersion() method. For example:

val version = LunaID.getVersion()
println("version: $version") 

The method transmits the LUNA ID version in encrypted form when interacting with a server or other system components where authentication or verification of the LUNA ID version is required.

In LUNA ID for iOS#

To get the LUNA ID version, call the LCLunaConfiguration::lunaIDSDKVersion() method.