1
I have this:
let loader = this.loadingCtrl.create({
dismissOnPageChange: true,
});
loader.present().then(authData => {
let alert = this.alertCtrl.create({
title: '',
message: 'Cadastrado com sucesso!',
buttons: [
{
text: 'Ok',
handler: data => {
this.navCtrl.setRoot(LoginPage);
}
}
]
});
alert.present();
});
Code worked however, got following error:
EXCEPTION: Uncaught (in Promise): false