An initial call using the callback you provide creates a document snapshot immediately with the current contents of the single document Then, each time the contents change, another call updates the document snapshot Realtime listeners are not supported in the php client library. Hosted realtime apis loved by developers and trusted by giants Build live dashboards, notifications, geotracking, chat and more. Realtime feature updates instantly update features changes to your app or page are instant with realtime updates
The live content api is a more flexible, efficient choice
WATCH