Page 1 of 1

Refresh Page on Data Change

Posted: Sun Feb 08, 2015 2:52 am
by KorryRogers

i'm working on a chat app. is there any way a page can "listen" for a database change? i want the chat window to refresh when the other user types a message. i know this can be accomplished by sending a push notification, but id rather not send a push notification every time a user enters a message. is there any other way.


Refresh Page on Data Change

Posted: Sun Feb 08, 2015 6:04 am
by Alena Prykhodko

Hello Korry,

Please look at a similar question https://getsatisfaction.com/apperyio/...


Refresh Page on Data Change

Posted: Mon Feb 09, 2015 12:00 am
by KorryRogers

So basically, I can setup an auto refresh, but there is no other way other than push to know when data changes?


Refresh Page on Data Change

Posted: Mon Feb 09, 2015 6:10 am
by Alena Prykhodko

Actually, data changes when services run, if it's update service - than success event means data is changed. This depends on app logic.