@elduderino15 wrote:
I am migrating my app from Ionic3 to 5.
First blocker I am finding is the events pipelineI use events in the app for sending signals between views with Events. Now events is removed in 5 and I am looking for an alternative. How can I broadcast events in one view / page and create listeners for that specific message in others?
My previous code was similar to
this.events.subscribe('system:phoneInfo', (systemInfo: string) => { Logger._phoneInfoString = systemInfo; });
where any view could call
system:phoneInfo
and the subscriber would do as said. My head does not wrap around how to distribute this over multiple views.
Posts: 1
Participants: 1