Hello guys,
I have implemented Push Notification and I have logic where when notifications comes I save this notification for later display to user(the bell button displays all notifications received). When app is in foreground this works fine and notifications are stored in central storage (vuex in this case). But when app is closed(it is not even killed) I receive Push notification in status bar but my logic is not triggered and when user enters application again he has no info of this notificaiton only of ones that were presented while app was in foreground. This logic is placed inside pushNotificationReceived event listener.
Is there a way to activate this handler even when app is in background?
Thanks in advance!