You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However I noticed sometimes (haven't been able to reproduce this consistently), after long period of inactivity or app in background, this listener would get cancelled by Firestore. I think we'd need some way to re-subscribe. Have you encountered anything like this?
The text was updated successfully, but these errors were encountered:
elvisun
changed the title
Firestore listener will get dropped after long period of inactivity
Firestore listener will get dropped after long period of inactivity or app in background
Oct 4, 2020
I followed a similar design with the
ConnectToDataSourceAction
action which triggers a listener on login.https://github.com/brianegan/flutter_architecture_samples/blob/master/firestore_redux/lib/middleware/store_todos_middleware.dart
However I noticed sometimes (haven't been able to reproduce this consistently), after long period of inactivity or app in background, this listener would get cancelled by Firestore. I think we'd need some way to re-subscribe. Have you encountered anything like this?
The text was updated successfully, but these errors were encountered: