AppMobi.updateMessage
The message associated with a Live Update
AppMobi.updateMessageDescription:
When a Live Update is triggered in an application, this property will return the text message associated with the update.
Example:
document.addEventListener("appMobi.device.ready",onDeviceReadyTestForUpdate,false);
function onDeviceReadyTestForUpdate(evt)
{
/* appMobi.updateAvailable indicates whether or not an over the air update is available or not. */
if (AppMobi.updateAvailable==true)
{
//there is an application update available at startup
if (confirm(AppMobi.updateMessage)==true) {
AppMobi.device.installUpdate();
}
}
}
Version:
This property is available in appMobi Version 3.3.0


