how do I listen to event after firebase cloud function had successfully updated a document? Because there is a few seconds lag while the function is running. I want to implement a loading screen and dismiss it when the function successfully updated the record. example: MyApp update data to firebase ref A firebase function detect changes in ref A and execute update same data to ref B MyApp does not know when will firebase function complete step 2 above, i need to listen to ref B for changes done to dismiss the loading Continue reading...