IONIC 4 -> Back Button - ngonInit or ionViewWillEnter never fired

Hi,

i had a Ionic 4 App with Tabs Navigation and Angular and when i open a subpage from my Tab1 Page and then click the backbutton on the subpage no ngOnInit or ionViewWillEnter is fired. I also tryed inViewDidEnter/Load etc. but nothing happend

i enter the subpage with

Thank you in advance

br
martin

This may sound like a rude or irrelevant question, but why do you care?

because i want to reload the data when you come back to the tab1 site. but nevermind forget it and close it

publish event on back button and subscribe this event first page and reload the data inside event

Then I would suggest reading this for a different approach that doesn’t rely on lifecycle events for that.