Sometimes, the connection with the server is lost without Smack being able to detect it.
Logs: The client no longer receive
<a xmlns='urn:xmpp:sm:3' h='x'/>
2019-10-15 09:54:38.038 21034-21331/integration D/SMACK: SENT (0): <message to=‘******’ id='hVOwP-22' type='chat'><body>Salut</body></message><r xmlns='urn:xmpp:sm:3'/> 2019-10-15 09:56:12.129 21034-21331/integration D/SMACK: SENT (0): <message to=‘******’ id='hVOwP-23’ type='chat'><body>Bonjour</body></message><r xmlns='urn:xmpp:sm:3'/>
The only way I see to detect broken connection (besides using PingManager, which is not available on the server) is to check that the stanza has been acknowledged (with SM) in time. Unfortunately, I have no listener to detect sending requests
<r xmlns = 'urn: xmpp: sm: 3' />, which are automatically sent by the lib ? How could I detect a request that was not acknowledged?
Thanks in advance for your help