Page 1 of 1

Background service

Posted: Sun Jan 06, 2013 9:19 am
by Renjith V

Is there a way to add background operations for the app? I need to do a regular polling of a REST service and notify the user.


Background service

Posted: Sun Jan 06, 2013 6:12 pm
by maxkatz

You can set a timer in JavaScript and then invoke the service like this: http://docs.tiggzi.com/documentation/...


Background service

Posted: Sun Jan 06, 2013 6:22 pm
by Renjith V

Hmmm, but when the window goes to the background, neither iOS nor Android fires any javascript timers (this is my understanding)


Background service

Posted: Sun Jan 06, 2013 6:26 pm
by maxkatz

I think so..


Background service

Posted: Sun Jan 06, 2013 6:27 pm
by Renjith V

So, then only a manual refresh is possible. Anyway thank you for the response.


Background service

Posted: Sun Jan 06, 2013 6:30 pm
by maxkatz

What's possible -- you can do anything the mobile browser will support and what the underlying OS will support.


Background service

Posted: Sun Jan 06, 2013 6:32 pm
by Renjith V

Thank you Max. Can you also help me out on this topic, it's kind of blocking my app development completely - https://getsatisfaction.com/tiggzi/to...