dimanche 2 juin 2019

how to update local copy of Snapshot when data is changed in firebase?

I am using firebase for my Angular app. I am using realtime Database because I want to get the update when a node in the database is changed for that I am using on listener on the node. it works fine I am getting all the updates real time but the problem is that when the node is changed new snapshot is request as the node content is huge it results in high data usage.

Is there any way to automatically update the local copy of a snapshot whenever the node is changed. this way only changes will be downloaded?




Aucun commentaire:

Enregistrer un commentaire