This is more of an is-it-possible question.
I am building a pubsub application for the iphone using XMPPFramework and Openfire. When the user has the pubsub app in the background, the app sends "keep alive" packets every 10 minutes or so to keep a persistent connection. Any messages delivered will show up as local notifications.
But what about if the user has killed the app or it's been a week since they've used it and the app isn't in the background? How would they know that they have a message waiting for them?
Is it possible to combine Openfire's pubsub service with Apple's push notifications? Am I on the right track? Thanks!