Application:getProjectProperties

From GiderosMobile

Available since: Gideros 2023.12
Class: Application

Description

Returns the properties of the project.

(table) = application:getProjectProperties()

The returned values are:

  • buildTime (number)
  • buildNumber (number)
  • version (number)
  • name (string)
  • versionCode (number)

Return values

Returns (table) a table with the project properties

Example

local prop = application:getProjectProperties()

local buildTime, buildNumber, version, name, versionCode =
	prop.buildTime, prop.buildNumber, prop.version, prop.name, prop.versionCode

local pdate = os.date("*t", buildTime)

print(pdate.year, pdate.month, pdate.day, pdate.min, pdate.sec)
print(buildNumber, version, name, versionCode)