This is my payload. When I send it I am able to receive notification, but click_action is getting ignored and it launches the launcher activity. But when I put "click_action" in notification block it is working. Why android block is getting ignored?
{
"to": "my tocken",
"data": {
"url": "dfhdfh",
"action": "fhdfg",
},
"notification": {
"title": "dfgsdfg",
"body": "dfgdg"
},
"android": {
"notification": {
"click_action": "NOTIFICATION_ACTIVITY"
}
}
}