Event is not triggered when onesignal handlenotification received is triggered


#1
this.oneSignal.handleNotificationReceived().subscribe((data) => {
     // do something when notification is received
      // alert(JSON.stringify(data));
        this.events.publish('home');//homepage
    });

i having this problem where the events is not triggered when notification is received? is this normal ?
the alert can be trigger but not the events.