Is having the login view displayed in the tab navigator a requirement for your application? It seems like it would be easier to avoid this issue altogether by displaying your login view in a spererate component like a Pop-up.
Yes, the login view is a requirement. Popup I think is not a good idea for my use-case because from the login view, the user can either go to the register view or Facebook login view.
So if I understand correctly, you are manually adding/removing the login view component from your tab naviagtor right? Are you displaying the login in one of the 3 existing tabs or is it in it;s own separate tab?
Yes, I'm adding the login view manually and only on the first tab.
1 person found this helpful
In the case, why not use spark viewstates to handle the display/hiding of the login view and the logout button?