I'd like to send push notifications from the server, and was wondering if Appery supports custom payload json objects. I know that apple allows this, but their dictionary is different than what is done on appery (see here)
For example, instead of only sending:
pre
var payload = {
"message": "hello world!",
"badge": 1
};
/pre
I'd like to send:
pre
var payload = {
"message": "hello world!",
"badge": 1,
"type": 4 //notice the type
};
/pre
This way, on the device end, I can identify the notification "type" and make the app perform some action accordingly.