Back

IsNewVersion

Hello World

Checks if the apk version number increased compared to the last time started.

app.IsNewVersion() → boolean

Example - Check Version Number increased

function OnStart()
{
    var newVersion = app.IsNewVersion();
    app.Alert( newVersion, "Is new version:" );
}
    Copy     Copy All       Run