Currently I am seeing that you are dispatching all packets. If your app is in background you don't need chatstates, you can club presence and dispatch message real time. Is it possible to publish only if you have message as packet (or anything which requires immediate delivery). App will connect and receive presence and chatstates (if they are stored in offline storage).
Currently I am seeing that you are dispatching all packets. If your app is in background you don't need chatstates, you can club presence and dispatch message real time. Is it possible to publish only if you have message as packet (or anything which requires immediate delivery). App will connect and receive presence and chatstates (if they are stored in offline storage).