I have configured push notifications and have successfully sent push notifications from the console. How do I do the same from the app?
I have configured push notifications and have successfully sent push notifications from the console. How do I do the same from the app?
Hi Terry -
How to handle push notifications from the app described here: https://devcenter.appery.io/tutorials...
And additionally you can do them from the server side as well.... Not sure if that's of interest ... But a lot of time notifications are triggered from data conditions that are best monitored from a server side script...
Thanks for the info
Thanks, Illya,
I have successfully created the push service and tested. I noticed that the response parameters includes count, errorMessages and status. The count always appears to be zero and the status is 'wait'. errorMessages is an object.
Please give me the answer to the following questions:
1) Is count the error count, if not what is it?
2) What is the status 'wait' and does it change?
3) How can I display the errors, if any on the application page?
4) Is it possible to show the number of devices that the message has been sent to?
5) Do push notifications support multi-line messages?
Thanks
Hello Terry,
1) This is Badge - umber shown with app icon in iOS (optional, if empty – badge will be not changed on device.
2) It will be changed after push delivering
3) Save errors into storage variable and show on every page
4) No, because it is one way process.
But you can update date in the appery DB every time when push received
5) No
More information here:
https://devcenter.appery.io/documenta...