Actually this worked for me:
I replaced
this.navCtrl.pop()
with
this.navCtrl.setRoot(this.navCtrl.getActive().component);
thanks to this post:
it removes all previous navigations, but it is OK in my case.
Actually this worked for me:
I replaced
this.navCtrl.pop()
with
this.navCtrl.setRoot(this.navCtrl.getActive().component);
thanks to this post:
it removes all previous navigations, but it is OK in my case.