Search code examples
flutterfirebasedartgoogle-cloud-platformgoogle-cloud-firestore

Why doesn't the offline cloud firestore documentation have code for offline query indexes for flutter?


Documentation I'm referring to

For other languages, I see it uses persistentCacheIndexManager and enableIndexAutoCreation. I tried to search in all files for some combinations of substrings of these words but I didn't find anything.

Is this feature still missing for Flutter? Does anyone know if there are any discussions about it?


Solution

  • The persistentCacheIndexManager and enableIndexAutoCreation are relatively new features that were added to the Firestore SDK in version 24.8.0 on September 14, 2023.

    Is this feature still missing for Flutter?

    Yes, these features aren't present in the FirebaseFirestore class for Flutter because there wasn't an update yet. However, it's a matter of time until these two features will also be added.