From the login screen I have an “IF STATEMENT” which should open a certain page if email==="something@email.com" and dismiss initial view if it’s not true. It seems like only dismiss initial view is working but open page is not working.
How can I open a certain page IF email===something and dismiss initial view if its not?
As far as I can tell, the only way to get out of the log in screen is to use dismiss initial view. What I have done is then have a temp landing page which is set as my app start page which has logic about what actual page should be opened depending on those type of if statements,
Thanks. The problem is I need the page to be opened as a modal because I don’t want the other email to access other pages in the navigation bar