I need the modal know which page it is below, to decide which content to show in the modal. But I couldn’t achieve that result. using this.navCtrl.getActive().name will give me “modalcCmp”, I need to check the page below the modal is “homepage”. I can check that on a page but on the modal. I couldnt. Do you guys have an idea to achieve this?
I think solution is getActive().name as parent, and pass the name when calling the modal. okay, I answered to my own question. hope it helps happy coding