Go to console

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

Index

Properties

Optional experimentalTabSynchronization

experimentalTabSynchronization: boolean
deprecated

This setting is deprecated. To enabled synchronization between multiple tabs, please use synchronizeTabs: true instead.

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.

Optional synchronizeTabs

synchronizeTabs: 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, synchronizeTabs: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.