Is it possible to have the behavior of iOS on Android when receiving the push notification when the app is in the foreground?

Is it possible to have the behavior of iOS on Android when receiving the push notification when the app is in the foreground? I would like the push not to arrive if I have the application open just as iOS does and handle it with the listener. It is very annoying to have a chat conversation for example and receive many notifications if the conversation is long …
I also wanted to know if it is possible to delete the notification if you have already entered to see it even if you did not enter through the notification.
Thank you

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.