Hi
I have an alert function which I use a lot and it’s perfectly working , however there is only one case where it doesn’t show up , I don’t know why , here is the case :
fileTransfer.upload(filepath,url , options, true).then(function(){
console.log('tested');
this.showAlert('succeeded','the photo was uploaded');
});
and here is the function :
showAlert(title1: string, message: string) {
let alert = this.alertCtrl.create({
title: title1,
subTitle: message,
buttons: ['ok']
});
alert.present();
}
it’s been two days and I’m still confused !