As I'm seeing limitations with both Supabase and Firebase, I started developing . So I would use Flutterflow for front-end only, and have a fully custom backend.
The idea is to have all my endpoints for login, signup, token refreshes etc... and create an app state called isLoggedIn that would be a boolean.
I was wondering:
Where in flutterflow would it be the best to update the isLoggedIn state value (based on what my api tells me on whether the jwt is valid or expired or whatever)
Where in flutterflow would it be the best to check the isloggedIn state value, in order either display the logged-in content or redirect to the login page
The idea is to have something as seamless as with Supabase but with custom interactions between the API and the front-end.
Thank you