Page 1 of 1

Push notifications

Posted: Tue Apr 14, 2015 6:25 pm
by Terry Gilliver

I have configured push notifications and have successfully sent push notifications from the console. How do I do the same from the app?


Push notifications

Posted: Tue Apr 14, 2015 7:50 pm
by Illya Stepanov

Hi Terry -

How to handle push notifications from the app described here: https://devcenter.appery.io/tutorials...


Push notifications

Posted: Tue Apr 14, 2015 9:27 pm
by Bruce Stuart

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...


Push notifications

Posted: Wed Apr 15, 2015 12:58 pm
by Terry Gilliver

Thanks for the info


Push notifications

Posted: Wed Apr 15, 2015 2:53 pm
by Terry Gilliver

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


Push notifications

Posted: Mon Apr 20, 2015 2:38 pm
by Serhii Kulibaba

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...