Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
477 views
in Technique[技术] by (71.8m points)

firebase - cloud firestore client offline access, online sync & billing

Will firestore redo all the (write/update) operations of a document, in the same order, when it syncs online or does it only update the online copy with just the latest cache copy ( which essentially impacts billing )

if the same document is updated multiple times when offline will the online sync charge for all the operations or for the one final sync.

question from:https://stackoverflow.com/questions/65948891/cloud-firestore-client-offline-access-online-sync-billing

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Firestore will only bill you for changes made while offline when the app comes back online and the changes are synchronized with the server. If the app is never able to sync while online, then no there are no charges, as Firestore hasn't done any work in the cloud service.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...