I have a standard implementation of listening to event and show a popup with notification contents.

Expected behavior:
When app is in foreground, listen to event and show a popup with notification contents.

Observation on Android:
1. When app is in foreground, there is no popup (as a result of event doesn’t fire). Notification shows in notification area.
2. Notification when clicked triggers event and I see a popup. This is true for any notification that shows even when app is in background.

Observation on iOS:
1. When app is in foreground, I see the popup. Notification doesn’t shows in notification area. This is expected and good.