You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My splashscreen simply displays an animation and I call NavigationActions.login() and it works perfectly.
Once my login and signup logic implemented, I wanted to add the core of the app, which will have a tab navigation, so I modified my navigation to this:
In my LoginSaga, if the login is a succes I call NavigatorActions.dashboard() but NOTHING happens, no error, no log, nothing.
At first I thought it was because I was in a saga, so to be sure, I replaced the NavigationActions.login() in my splashscreen by NavigationActions.dashboard(), and after the animation, the splashscreen stays on, nothing happens.
I also tried this setup with no success:
Hi,
I've encountered a problem and been banging my head against the walls to figure it out.
Initially I had this setup:
My splashscreen simply displays an animation and I call
NavigationActions.login()
and it works perfectly.Once my login and signup logic implemented, I wanted to add the core of the app, which will have a tab navigation, so I modified my navigation to this:
In my LoginSaga, if the login is a succes I call
NavigatorActions.dashboard()
but NOTHING happens, no error, no log, nothing.At first I thought it was because I was in a saga, so to be sure, I replaced the
NavigationActions.login()
in my splashscreen byNavigationActions.dashboard()
, and after the animation, the splashscreen stays on, nothing happens.I also tried this setup with no success:
But if I remove the splash and login scenes, the app displays the dashboard screen with no problem!...
What am I missing???
Full files:
NavigationRouter.js
SplashScreen.js:
Dashboard.js:
The text was updated successfully, but these errors were encountered: