What is working :-
When I send a push notification and the APP is already opened, show an alert modal with the text of notification.

What is not working:-
When I send a push notification and the APP is in background or closed, show the message in android notify. If I tap this notification, open the APP. Alert model not open. (on(‘notification’) isn’t trigged when app is in background or closed)