Since I switched to Capacitor 4 and updated capacitor/community/fcm to 3.0.0, if I have the application open and receive a notification in addition to receiving the notification in the form of a toast as I have set up I now also receive the notification at the top of the status bar.
I might even like this if I decide to remove the toast but the problem is that if I click on the notification at the top nothing happens, unlike if I receive it from an open app which makes the app open and navigate me to the correct page.
This problem occurs on both Android all versions and IOS.
Since I switched to Capacitor 4 and updated capacitor/community/fcm to 3.0.0, if I have the application open and receive a notification in addition to receiving the notification in the form of a toast as I have set up I now also receive the notification at the top of the status bar. I might even like this if I decide to remove the toast but the problem is that if I click on the notification at the top nothing happens, unlike if I receive it from an open app which makes the app open and navigate me to the correct page.
This problem occurs on both Android all versions and IOS.
My code is as follows: