Skip to content

Conversation

dconeybe
Copy link
Contributor

Firestore has a setting named experimentalAutoDetectLongPolling which can be set to true to enable some heuristics to detect if enabling "long-polling" networking mode fixes communication problems with the Firestore backend servers. See #1674 for details.

For the past 4 years this "auto-detect" mode was opt-in; however, we now have confidence that it is safe to enable for everyone. Therefore, this PR enables the "auto-detect" mode by default. If you are experiencing networking issues you can try disabling the long-polling auto-detection by setting FirestoreSettings.experimentalAutoDetectLongPolling to false . If you do this, please open an issue in this GitHub repository to report your problems and mention "long-polling" in the issue title.