I have faced with serious issue with Android 8 (Smack 4.2.0). When phone goes to Doze mode connection is dropped.
After that when unlock phone foreground application cannot login.
SASLError using PLAIN: not-authorized
Previously I was faced with timeout error which seem has been fixed after adding checking Internet connection when pinging Google sever with Volley library.
I'll appreciate to any help with that,