Please provide the following:
- SDK Version: 35
- Platforms(Android/iOS/web/all): iOS
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 ?
Thanks for pointing this out. We certainly want the Notification Listener to fire when receiving a foreground notification as well. Created a github issue here: Notification Listener doesn't fire with foregrounded iOS notifications · Issue #5842 · expo/expo · GitHub
Thanks for the quick answer!
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
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.