I have an app that uses firebase as its authentication service. I do have a logout button that calls the flutterflow logout action. However, specifically on my google pixel 7a , my authentication session persists whenever I open the app again from a cold start. Meaning that I launch the app and it takes me to the logged in target page as well as succeeding my api calls which check if I am logged in.
Firebase login persisting only on android
Troubleshooting
I have tried replicating this bug on multiple ios devices as well as an android emulator. None will replicate it. I have also tried manually navigating to the sign in page in case there was some bug that happened when I logged out due to authenticated User being used on the screen the logout button is on.
I have also tried clearing app storage, cache, deleting the app, and also logging out before deleting the app. All of which result in the app already being logged in when I launch.
Attached is the logout flow. It pops up a dialogue and if it returns true then it performs a manual navigation and then a logout without automatic navigation.
Yes
5 replies