Ionic 4 how to listen to ionNavDidChange

(1) PageA => (2) PageB (Press nav-back-button) => (3) PageA

I want to listen to the event when 3 is finished, it should be ionNavDidChange, right?

I tried to do something like this in PageA but failed. Any idea?

  constructor(private events: Events) {'ionNavDidChange', () => {
1 Like

Iā€™m also trying to do this, did you have any luck figuring out how to listen for ionNavDidChange from the app component?