Trouble with Lifecycle Events and Ionic Eevents

Try replacing setRoot with popTo, seems to have worked for my project.

I had a SearchPage that created a Modal, and onDidDismiss would call setRoot to the Home Page,
this ModalPage was publishing an event and the HomePage was subscribing to the event,
I found that each time I added a search result item it would increment the instance of the result

So the first time you did a search and added the result it seemed like everything was working.
But if you added a second result, it would appear twice in the list on the HomePage, etc etc

So I tried wrapping the subscription (at HomePage) in all the different lifecycle hooks both Ionic and Angular – but it didn’t work as this topic states)

But then I read in all the forums that too many setRoot calls causes the constructor/page to fire multiple times (Constructor and lifecycle events fires twice)

So I replaced setRoot with popTo, and it now works as expected.