Remote notifications not working

Hello everybody. I ask for help. Remote notifications do not work. My payload looks like this:

{"aps":

{
"sound":"default",
"alert":
{
"title":"%s",
"loc-key":"CALL_INCOMING_NOTIFICATION_BODY"
},
"content-available":1
}

}

When I send a message from another device, an empty (template) message arrives, in my case "New message!" Without content.The didReceiveRemoteNotification method does not start. But sometimes messages can arrive after sending, but if the device is rebooted, notifications will not come

Terms of Service

Privacy Policy

Cookie Policy