You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does firestore have an API that's something similar to the realtime database? Is that the same thing, I can't find any information anywhere. I want to know if the last write actually sent to the firestore.
// Create a reference to the special '.info/connected' path in
// Realtime Database. This path returns `true` when connected
// and `false` when disconnected.
firebase.database().ref('.info/connected').on('value',function(snapshot){
// If we're not currently connected, don't do anything.
if(snapshot.val()==false){return;
};
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello folks,
From this example here: https://firebase.google.com/docs/firestore/solutions/presence#using_presence_in_realtime_database
Does
firestore
have an API that's something similar to therealtime database
? Is that the same thing, I can't find any information anywhere. I want to know if the last write actually sent to the firestore.Beta Was this translation helpful? Give feedback.
All reactions