I am facing an issue with my ionic 3 page where I need to refresh the data on the page only if it is entered via a navCtrl.setRoot()
and not when returned to from a navCtrl.pop()
. I have been using ionViewDidEnter()
to identify when the page is entered, but I am struggling to differentiate between entry methods of setRoot()
and pop()
.
My project is built as a Tabs project, so the setRoot()
function is triggered every time the tab for the page is selected.