Push message is received well when app in background or foreground state. When app is killed push never comes.
Push data:
{
"to" : "e3UQwRr.....,
"click_action" : "asd",
"priority":"high",
"data" : {
"body" : "First Notification1",
"title": "Collapsing A",
"key_1" : "Data for key one",
"key_2" : "Hellowww"
}
}
Im testing is Postman
, response contains: "success": 1,"failure": 0
To mention: when app is in foreground state i see my code parses the messages, when app is in background i see push is handled by the system. So what could be the reason when app is killed notifications not come?
On some devices - LeEco Le2, battery optimization is off.