-
Notifications
You must be signed in to change notification settings - Fork 673
Description
@dconeybe @ehsannas This is related to issue #7198.
I was finally able to reproduce the issue. It seems that occasionally on a fresh app start, all invocations of snapshots() don't deliver any data. Even if the cache has been populated before, neither cached nor updated data are provided. Breakpoints after snapshots() are never caught.
I've uploaded the SQLite database here. Note, since the database contains sensitive information, I will only allow access requests coming from official Google addresses. The archive contains three folders: 01 before, 02 after and 03 after restart. before contains the database before the app was started. after contains the database after the app was started and is stuck in the frozen state. Lastly 03 after restart contains the database after the app has been restarted and Firestore queries work. One exemplary query that we use is:
firestore.collection("offers_weeks")
.whereGreaterThanOrEqualTo(FieldPath.of("visible", "until"), Timestamp.now())
.orderBy(FieldPath.of("visible", "until"))
.limit(2)
.snapshots()We're using Firebase BOM 34.10.0.
I hope this helps in identifying the problem 🤞🏻