It cannot be done on its own. âAnother idea: transactions always fail when they are offline, so maybe there is a way to use that.
see: Building a Presence with Cloud Firestore | Firebase
Realtime Database has a special path called â.info/connectedâ. js
What about Cloud Firestore?
Connectivity - This implementation measures connectivity to Realtime Database, not Cloud Firestore. Even the official documentation doesnât solve the problem with Cloud Firestore, but substitutes a connectivity check with Realtime Database.
This page is auto-translated from /nishio/Firestoreă§ăȘăă©ă€ăłć€ćź using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iâm very happy to spread my thought to non-Japanese readers.