Skip to content

Firestore experimentalAutoDetectLongPolling/experimentalForceLongPolling does not work as expected #8176

@vietstone-ng

Description

@vietstone-ng

Operating System

MacOS 14.1.2

Browser Version

Chrome/123.0.6312.124 (arm64)

Firebase SDK Version

^10.9.0

Firebase SDK Product:

Firestore

Describe your project's tooling

React app with Vite

Describe the problem

experimentalAutoDetectLongPolling/experimentalForceLongPolling does not work by default as expected.

  • with compat API, it works only if I turn on the option explicitly
  • with normal modular API, it does not work regardless of whether I turn on the option or not.
  • with lite modular API, it just works as expected

Steps and code to reproduce issue

Below is my code to reproduce the issue. Please check README file to get the steps to reproduce the issue.

https://github.com/vietstone-ng/firestore_polling

Thank you.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions