Smack Reconnection issue

Hello everyone,

1.) I am developing chat application. We have one background service continuously running so that in case there is connection loss so that we can reconnect automatically and there is no message loss. But many times the **reconnecting doesn’t work. **

2.) There is also one scenario in which after 10 to 12 hours the reconnection stop working and after some time it again starts .I am using Stream management, **when I switch network some times same message comes ** twice.

3.) Also need help in reading stanza body.

Hu712a5885-8d5f-43c2-8b71-3 54d1fd74a34

D/SMACK: RECV (0):

D/SMACK: RECV (0):

Thanks in Advance.