we kill the session immediately after the app enters background, a better way is launching a background task and alert user to go back to the app, and only kill the sessions when user press disconnect button explicitly.
for the white screen issue, we can add a timeout if server doesn't send a session request and kill the session
we kill the session immediately after the app enters background, a better way is launching a background task and alert user to go back to the app, and only kill the sessions when user press disconnect button explicitly.
for the white screen issue, we can add a timeout if server doesn't send a session request and kill the session