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

TODO(multitab): Uncomment when multi-tab is released publicly.

Open InputNeuron opened this issue 8 years ago • 2 comments

The latest release doesn't have experimentalTabSynchronization enabled in the typescript bindings:

// TODO(multitab): Uncomment when multi-tab is released publicly.
// /**
//  * Settings that can be passed to Firestore.enablePersistence() to configure
//  * Firestore persistence.
//  */
// export interface PersistenceSettings {
//   /**
//    * 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.
//    */
//   experimentalTabSynchronization?: boolean;
// }

InputNeuron avatar Oct 02 '18 20:10 InputNeuron

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

google-oss-bot avatar Oct 02 '18 20:10 google-oss-bot

Thanks for sending this over. Looks like I forgot about one of our many typing files. Fix coming.

schmidt-sebastian avatar Oct 03 '18 17:10 schmidt-sebastian