Hi,
I need to do an API call while loading the iparams page. I tried to do an API call with checking on parameter values in the iparams page. But I couldn’t get the value of iparams with utils.get inside app.initialized() function. Once I can get the value can I do the API call?
app.initialized().then(
function (_client) {
//If successful, register the app activated and deactivated event callback.
window.client = _client;
if(utils.get('key')) callAPI();
},
function (error) {
//If unsuccessful
console.error('APP initialized::error : ' + error);
})