Back

IsNewVersion

JS Py
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:" );
}
def OnStart():
    newVersion = app.IsNewVersion()
    app.Alert( newVersion, "Is new version:" )
    Copy     Copy All       Run