I want to send url with FCM to android application. Is it possible to open browser when clicked on FCM notification instead of opening launcher activity? I know it possible with overriding onMessageReceived()
method but i don't want do it. I checked the click_action
parameter in payload but as Firebase said:
If specified, an activity with a matching intent filter is launched when a user clicks on the notification.
I'm try to add click_action
in CustomData inside firebase cloudMessaging panel like this:
But it not working and open application instead.
I'm used postman to send notification for this purpose and add click_action
to notification
object like this:
Notification send to my device but when clicked on it, nothing happened!!!
Important: My apk released on GooglePlay and i can't change the source code of application.
Anybody help please.