ExtJS v7.1 based application has onAppUpdate
function and some other methods like onLaunch
mentioned in documantation here for classic application. However in development and in testing environment these never gets fired. Is it as intended, if yes then how we can test onAppUpdate
in dev or testing build. If no, then what could have gone wrong here.
You can achieve this by enabling Local Storage Cache for a specific build in your app.json file.
Example for the testing build:
/**
* Settings specific to testing builds.
*/
"testing": {
"cache": {
"enable": true
}
},
Every build on the testing environment will now call the onAppUpdate() function.