I’m building an application using ionic 2 and have faced a little problem.
I have a logic which runs on ‘ionViewDidEnter’.
however every time that i open a ModalController from that page, when Modal dismiss it triggers ‘ionViewDidEnter’ again.
i tried to use ‘ionViewLoaded’ but it will only run my code once when i first visit that page.
I need to run the logic every time i navigate between tabs ( not when Modal dismiss)
do you have any idea how can i do this ?