title: How to enable Online/offline mode for firebase firestore?
body: <p>Is there a way to create online and offline mode for users with <code>firestore</code>?</p>
  
  <p>I found a tutorial is this still up to date or is there a easier way?</p>
  
  <p>Tutorial: <a href="https://blog.campvanilla.com/firebase-firestore-guide-how-to-user-presence-online-offline-basics-66dc27f67802" rel="nofollow noreferrer">https://blog.campvanilla.com/firebase-firestore-guide-how-to-user-presence-online-offline-basics-66dc27f67802</a></p>