I use Back4App service to send push notifications. I managed to get push notifications to work, and they work from the client and from the server, but the problem is that all notifications come with the same format (title>name of the app, alert>name of the app). I am sure I am changing the alert and the title text in the json, but still they are all sent with the app name.
This is my json table:
{
"channels": [
"TestChannel"
],
"data": {
"alert": "The Mets scored! The game is now tied 1-1.",
"title": "Mets Score!"
}
}
Here is how I call the function (using lua in corona SDK):
parse.request(parse.Push.send)
:data(pushJson)
:response(function(responseString, responseTable, errorTable)
adjustResponseString("Sending Push", responseString, responseTable, errorTable)
end)
This is my current app name "ParseTest". Here is what the notification looks like: https://i.snag.gy/rXQ9Ja.jpg (This is the case when I send push notifications from both client and server.)