I’ve noticed that when I turn on iosDisplayInForeground I haven’t get notifications with received origin anymore via Notification.addEventListener when the app is foregrounded. It would be nice to receive those notifications in the event listener as well, e.g. to update in app unread count, etc… The docs does not address this difference, so I’m not sure it’s a bug or an intended feature ?
Just one more addition: I also noticed that when I press the foregrounded notification, the Notification.addEventListener fires but with received origin. I guess it should be selected.