I am developing chat app that need to keep socket connection open while app is not active. I have tried by modifying app background setting to VOIP, still OS kill my app after 10 min. approx.
I have already developed same chat app in titanium ios. Titanium provides Ti.App.backgroundservice for background purpose. It runs infinity on it. I have also checked titanium's class files for background services they provide, but it is difficult to understand.
My question is how titanium make it possible to run background service infinitely? So that I can use same methods to keep my socket connection alive infinitely in my core ios app.