Page 1 of 1

rest service listener

Posted: Wed May 29, 2013 11:10 am
by Michael4771079

Hi,
I want to make a web app and mobile app to communicate with each other, I need to send job details from web app to mobile,
I need the info sent to populate the components in the mobile app, I intended to a db and use put and get api to achieve this.

My question is
how do I make sure that the job info is received
do I have to do a get rest every x seconds or minites?
or is there some other way to update the mobile app,


rest service listener

Posted: Wed May 29, 2013 12:07 pm
by Kateryna Grynko

Hi Michael,

1) You can add one more field to job, the receiving part will change it.
2) You can use Push notifications: http://docs.appery.io/tutorials/sendi...


rest service listener

Posted: Wed May 29, 2013 12:16 pm
by Michael4771079

I'm unsure what you mean,
do you mean I can invoke a service from the web app that is excuted on the mobile app with a push?


rest service listener

Posted: Wed May 29, 2013 12:27 pm
by Kateryna Grynko

rest service listener

Posted: Wed May 29, 2013 12:50 pm
by Michael4771079

Thats even better than I had imagined do you have an docs on the implementation of this in apperyio

or is it the case that the driver is logged in,
a job is sent along with a push to this driver
and any new job will be sent to his app from the db


rest service listener

Posted: Wed May 29, 2013 1:04 pm
by Kateryna Grynko