If notification messages with priority=default (or lower) are received on Android, while the app runs in foreground mode, the NotificationBuilder creates a notification popup which displays the notification actions for the given notification click_action. This behavior is not intended. The general idea is, if the priority is not specified (default) no extra popup should be shown while the app runs in foreground mode. It's the duty of the app to handle the incoming notification and display a custom UI or dialog.
If the priority is set to high (or above) we always show a notification popup - even if the app runs in foreground.
Steps to Reproduce
Start Android and keep it in foreground mode.
2a. Send notification with priority=default:
Description
If notification messages with priority=default (or lower) are received on Android, while the app runs in foreground mode, the NotificationBuilder creates a notification popup which displays the notification actions for the given notification click_action. This behavior is not intended. The general idea is, if the priority is not specified (default) no extra popup should be shown while the app runs in foreground mode. It's the duty of the app to handle the incoming notification and display a custom UI or dialog. If the priority is set to high (or above) we always show a notification popup - even if the app runs in foreground.
Steps to Reproduce
2b. Send notification with priority=high:
Expected Behavior
Actual Behavior
Basic Information