Page 2 of 2

Auto refresh

Posted: Thu Jun 23, 2016 8:57 pm
by rabia batool

There is no other way to load message list automatically without push notification?? if not then can you please guide me how to send push notification when there is new entry in database???


Auto refresh

Posted: Fri Jun 24, 2016 8:11 am
by Serhii Kulibaba

Yes, it is possible: run read list service on the "Push Notification" event (https://devcenter.appery.io/documenta...)

Also, you can disable sound and alert on Push notifications settings tab (https://devcenter.appery.io/documenta...), because you'll use them for another action (refresh a list)


Auto refresh

Posted: Mon Jun 27, 2016 9:38 pm
by rabia batool

Thanks for your response. I got it. Now i have one confusion. How server knows when should i send notification to user. should i write server code to handle send message and when there is send message function called, server code will push notification to receiver about new message. am i right?
if not then how to handle this???


Auto refresh

Posted: Wed Jun 29, 2016 4:11 pm
by Serhii Kulibaba

You can send a push notification right after user creates a new item, e.g. on the success event of that service.


Auto refresh

Posted: Thu Jun 30, 2016 6:41 pm
by rabia batool

I could not understand what do you mean? do you mean i will send notification from user device after he send message successfully???


Auto refresh

Posted: Fri Jul 01, 2016 3:51 pm
by Serhii Kulibaba

You are right. Please look this example, how to do it: https://devcenter.appery.io/tutorials...