views:

93

answers:

2

Can I get a phonegap application running on iOS 4 to have a background service when it's not the active app (e.g. check a url every hour and alert the user if there have been any changes)?

And if so, how?

+1  A: 

Yes, you can do that, but Apple will probably disallow it. Background running is bound to VERY specific rules. For this kind of stuff Apple invented Push Notifications (from server).

You can read the developer documentation about that.

Wim Haanstra
+2  A: 

tutorial for Push Notifications and PhoneGap

http://help.urbanairship.com/faqs/push-notifications/phonegap-push

Aaron Saunders