rabia batool
Posts: 0
Joined: Mon May 30, 2016 6:22 am

Auto refresh

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Auto refresh

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)

rabia batool
Posts: 0
Joined: Mon May 30, 2016 6:22 am

Auto refresh

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Auto refresh

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

rabia batool
Posts: 0
Joined: Mon May 30, 2016 6:22 am

Auto refresh

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Auto refresh

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

Return to “Issues”