Renjith V
Posts: 0
Joined: Mon Dec 31, 2012 4:54 am

Background service

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Background service

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

Renjith V
Posts: 0
Joined: Mon Dec 31, 2012 4:54 am

Background service

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Background service

I think so..

Renjith V
Posts: 0
Joined: Mon Dec 31, 2012 4:54 am

Background service

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Background service

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

Renjith V
Posts: 0
Joined: Mon Dec 31, 2012 4:54 am

Background service

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

Return to “Issues”