Hello,
I'm working on a mobile app that starts at a login screen. What I want to do is navigate to the next page only when the login requirements have been met. I am able to correctly track the login result as a local storage variable, setting its value to either 'true' or 'false'. Now that I have this local storage variable (T or F), how can I:
Navigate to another page if its value is 'true'
Stay on the login page if its value is 'false'
Any help is appreciated, thanks.