Enderson Vizcaino
Enderson Vizcaino

Reputation: 1

Flutter: Firebase Firestore custom sync rules

Right now I have a Flutter project which uses version 2.10.4 and I also have Firebase configured to be able to use Firestore and I have offline use enabled so that when my app can access the internet the data is synchronized. I would like to know if it is possible to create some rules for this synchronization, for example that they are executed in a specific order, or in the order that they were added to that queue.

Upvotes: 0

Views: 188

Answers (1)

Frank van Puffelen
Frank van Puffelen

Reputation: 598728

Firestore's offline persistence functions as a cache, not as a synchronization mechanism. Items are added to the cache in the order in which you read them, and when needed are expunged from least recently used to most recently used.

Upvotes: 1

Related Questions