Navigation based on app state not working?

Actions & Logic

I am building a proto and want to have a conditional when my user clicks the profile button on the home page. If the app state 'isAuthenticated' is set to false, navigate to log-in page; if app state is set to true, navigate to profile page. It keeps sending me back to the profile page though even though the default app state is set to false.

What have you tried so far?

I tried changing the default state to true at first. I also tried to disconnect and reconnect everything.

Did you check FlutterFlow's Documentation for this topic?
No
1
5 replies