I just started migrating my ionicv1 app to ionic3 and I’m facing little problem about event handling.
I have a lot of services that are broadcasting events globally to the app, to achieve this in ionic3, I am using the Events class from ionic-angular, when i call publish in the same component the event is well handled by the callback sent with subscribe.
But if I trigger publish(eventname) from an injectable provider, the handler in the page component is never triggered.
I wonder if the events are published in a specific component scope ?
Is it possible to broadcast an event from an injectable provider to get it catched by a page component ?
Should I create my own singleton event handler ?
Thanks in advance for your help.