I'm doing a simple query and periodically Firestore doesn't return anything. No error, no results, nothing.
Firestore.firestore().collection("groupChats")
.order(by: kUpdatedAt, descending: true)
.whereField("memberIds", arrayContains: currentUserId)
.limit(to: 15).getDocuments { [weak self] snapshot, error in
// nothing inside here ever hits
}
I'm not really sure how to proceed or debug this since this seems to be inside of Firestore. The user has an internet connection. Pulling to refresh and calling that query again returns the same seeming no-op result.
Any ideas what's going on here? Thanks!