Friends,
I need to check the settings values set in app.component.ts , initializeApp() function … I try a code
initializeApp()
{
// some other code
this.setDefault();
}
async setDefault()
{
let lbid = await this.storage.get('lbid');
let lbname = await this.storage.get('lbname');
let distid = await this.storage.get('distid');
let lbtype = await this.storage.get('lbtype');
if(lbid) {
alert("set");
} else {
alert("not set mone");
}
}
my requirement is if not set that values , set Default values in function setDefault
for lbid,lbname,distid,lbtype
but now after apk generated the app loading indefinitely not show home page
Any body please help…
Thanks
Anes