Listen for navigation events


in ionic1 using UIRouter we could listen to state change events and act accordingly (check for auth, send analytics, log stuff etc). In Ionic2 I haven’t found a centralised way to check when navigation happens in order to intercept it and do things like analytics, logging etc.
What do you recommend?

@mxa055 I’m looking for the same thing for auth purposes. Have you found a solution?

FYI, I found this related question but there are no responses there yet either unfortunately:

Unfortunately I have not found a solution :\

Found a solution. Look at this thread

Thanks for updating this thread as well. I commented on the referenced thread regarding your solution.