How to know when a notification is clicked

I want to detect when a notification is clicked when a push notification comes. Facing issue when redirecting to respective pages.

If user clicks on the notification tray then it will be redirected to respective page otherwise it will be auto closed after 3 seconds. How to do this ?

Read the documentation for the plugin you are using to push natification

Small notification icon is not showing in status bar. But notification is showing in tray.

Wich plugin are you using?

1 Like