In the Firestore SDK for iOS, calling any get APIs like getDocument
, getDocuments
is taking a long time. An empirical estimate for a collection containing around 10,000 documents is taking around 20 seconds or more to retrieve the latest 50 documents. The workaround is to use addSnapshotListener
once and remove after we obtain the data. This makes the retrieval fast enough.
jsloop
{musings}