Back

GetVersion

JS Py
Hello World

Returns the app version number of the currently running apk.

app.GetVersion() → Number

Example - Show App Version

function OnStart()
{
    var version = app.GetVersion();
    app.Alert( version, "App Version:" );
}
from native import app

def OnStart():
    version = app.GetVersion()
    app.Alert( version, "App Version:" )
    Copy     Copy All       Run