powered by Jive Software

Connection in backgroud for ios

Hi Team,

I have devleloped chat application for Iphone which works fine when application is in forground state.

When my application is in background then i am receiving push silent notification from apns server but i can not make connection to openfire server while it is in background state.

I have also enabled the background socket using following code but not getting any success.

xmppStream.enableBackgroundingOnSocket = YES;

please help me to get connect with the xmpp server while in silent wake up from ios.

Wouldn’t this issue be best addressed to the XMPP client library you are using on iOS?