As discussed in the thread below the Universal GUI currently doesn't handle session timeout's in an elegant way. If you leave a Universal GUI open it could happen that when you return to it your session has timed out. As a user you only experience this then you try to manipulate something (save data in a form that is on auto edit in our case).
Wouldn't it be more desirable to run a function after the Universal GUI comes into foces that checks if the current session is still valid? That way you could handle session expiration gracefully by redirecting users to the login window before they start using the application.
There is a function for this inside of react. https://reactnavigation.org/docs/function-after-focusing-screen/
Previous discussion/question: