Hello, i'm using PubNub for a live chat in one of my applications(iOS and Android). After using the app for a while, messages are not received anymore and i suspect this has something to do with an energy saving mode or something like that. I just don't receive any messages anymore after say, ten minutes. What could cause this issue?
For a device to receive/send message through PubNub, you need an active connection to PubNub. If your app is in the background or the phone goes into energy saving mode, you will not receive any messages.
You can send a push notification when a device is not actively connected to PubNub. You can read more about our Mobile Push Gateway on the best way to approach this - http://www.pubnub.com/products/mobile-push/