duytq94/flutter-chat-demo

Firebase Auth not listening user status

FilipeOS opened this issue · 1 comments

Hi,

I'm having an issue. I'm trying to get the online/offline status but I'm not beeing able and I think it's because the app don't listen to Firebase user status, because when I go to Firebase Auth console the last time I was connected was when I made the login last time (days).

Is this normal? How can we fix it?

I was able to do this using AppLifecycleState for now. Saves on database when the user resume or leave app.