Settings that can be passed to Firestore.enablePersistence() to configure Firestore persistence.

Index

Properties

Optional experimentalTabSynchronization

experimentalTabSynchronization: boolean

Whether to synchronize the in-memory state of multiple tabs. Setting this to 'true' in all open tabs enables shared access to local persistence, shared execution of queries and latency-compensated local document updates across all connected instances.

To enable this mode, experimentalTabSynchronization:true needs to be set globally in all active tabs. If omitted or set to 'false', enablePersistence() will fail in all but the first tab.

NOTE: This mode is not yet recommended for production use.

Send feedback about...

Need help? Visit our support page.