I have an Android app and used Smack for the chat integration. Now I am facing an issue in Android Oreo devices, that is the connection was closed whenever the app was killed from the recent app list. Therefore I didn’t get any messages from the server. I have implemented the foreground service also to keep the service in running state But it was also killed because of connection loss.
Smack Version. 4.2