In my app, I split users into an admin and a staff view of the app. I do this with a screen that runs two different actions based on a boolean value (go to this screen if logged in user=admin). But sometimes the app logs a user out, but it still redirect to the designated Home Screen, instead of taking the user to the designated welcome screen. Any way I can avoid this?
If I understand you correctly, there are cases where the user could land on the screen that redirects to the correct homescreen while their status is “logged out”; in that case you can add an action that links to welcome screen if the loggedin user’s email is empty (aka. user is logged out).
If that does not work, try adding this same action to both homescreens. This way if a user land there by mistake the will be redirected to welcome screen.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.