How do I logout the user after they close the app?

Actions & Logic

I have a 'Remember me' checkbox. When checked, it is supposed to keep the user logged in even after they close the app. When unchecked, it should require the user to log in again the next time they open the app. However, I use Firebase, which automatically saves the user's session. How do I log out the user after they close the app?

What have you tried so far?

I tried searching the community here and on Reddit and I found no solution.

Did you check FlutterFlow's Documentation for this topic?
Yes
1
4 replies