firebase-kotlin-sdk icon indicating copy to clipboard operation
firebase-kotlin-sdk copied to clipboard

Add FirebaseFirestore multi-tab persistence to firestore for js

Open MinmoTech opened this issue 3 years ago • 1 comments

Library Class Member Platforms
firestore FirebaseFirestore setSettings js

In js firestore you can set multi-tab persistence, but I believe this is not exposed in this library. For the version 8 sdk you can see how it is achieved here: https://github.com/firebase/firebase-js-sdk/issues/190

For the version 9 sdk it is not documented yet according to this SO post from yesterday: https://stackoverflow.com/questions/73380821/how-to-enable-multi-tab-synchronization-for-firebase-web-version-9-modular

But it should still be possible and should get documented soon.

MinmoTech avatar Aug 18 '22 15:08 MinmoTech

experimentalForceOwningTab would also be useful in the case of Browser Extensions

MinmoTech avatar Aug 18 '22 16:08 MinmoTech