1

I'm trying to create an authentication flow with React navigation bottom tab, whereby a user can access some screens on the bottom tab navigation while some screens require login. Also i'm trying to make all the screens to be authenticated once a user logs into one screen.

Here is the project

https://github.com/kennymanman/firebase-app

kenny
  • 11
  • 1
  • You want him to be able to see the tab but when he presses it to move him to login? or you want the tab to not be visible at all if youre not logged in? – Shai Sep 13 '21 at 17:43
  • I want the bottom tab to show some screens but require login for some, once authenticated it opens all locked screens – kenny Sep 14 '21 at 12:26
  • https://stackoverflow.com/questions/43164554/how-to-implement-authenticated-routes-in-react-router-4 You might want to create your own route and implement some kind of guard with it – Shai Sep 15 '21 at 09:14

0 Answers0